From 6a924a5970dcfacf0925e2b9997a8564a4cd2a71 Mon Sep 17 00:00:00 2001
From: Rob McMullen <feedback@playermissile.com>
Date: Tue, 19 Apr 2016 16:01:05 -0700
Subject: [PATCH] Removed wxpython specific get_file_dialog_wildcard out of
 atrcopy & added more descriptive class attribute names for segment saver info

---
 atrcopy/ataridos.py |  4 ++--
 atrcopy/segments.py | 13 ++-----------
 2 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/atrcopy/ataridos.py b/atrcopy/ataridos.py
index 7abe02b..d60d454 100644
--- a/atrcopy/ataridos.py
+++ b/atrcopy/ataridos.py
@@ -131,8 +131,8 @@ class MydosDirent(AtariDosDirent):
 
 
 class XexSegmentSaver(SegmentSaver):
-    name = "Atari 8-bit Executable"
-    extensions = [".xex"]
+    export_data_name = "Atari 8-bit Executable"
+    export_extensions = [".xex"]
 
 
 class XexSegment(ObjSegment):
diff --git a/atrcopy/segments.py b/atrcopy/segments.py
index da11be7..b44d0f7 100644
--- a/atrcopy/segments.py
+++ b/atrcopy/segments.py
@@ -11,22 +11,13 @@ selected_bit_mask = 0x80
 
 
 class SegmentSaver(object):
-    name = "Raw Data"
-    extensions = [".dat"]
+    export_data_name = "Raw Data"
+    export_extensions = [".dat"]
     
     @classmethod
     def encode_data(cls, segment):
         return segment.tostring()
 
-    @classmethod
-    def get_file_dialog_wildcard(cls):
-        # Using only the first extension
-        wildcards = []
-        if cls.extensions:
-            ext = cls.extensions[0]
-            wildcards.append("%s (*%s)|*%s" % (cls.name, ext, ext))
-        return "|".join(wildcards)
-
 
 class OrderWrapper(object):
     """Wrapper for numpy data so that manipulations can use normal numpy syntax