Lot of fixes + first (bad, ugly) working GUI
[nikiroo-utils.git] / src / be / nikiroo / fanfix / reader / LocalReader.java
index 26f48f5a21210fe4d6026b44d0e2bdae3cf3e2c1..bfb8b97276d9d71b9d76782b592409e1c02c8c73 100644 (file)
@@ -10,7 +10,6 @@ import be.nikiroo.fanfix.bundles.Config;
 import be.nikiroo.fanfix.data.MetaData;
 import be.nikiroo.fanfix.data.Story;
 import be.nikiroo.fanfix.output.BasicOutput.OutputType;
-import be.nikiroo.fanfix.supported.BasicSupport.SupportType;
 
 class LocalReader extends BasicReader {
        private Library lib;
@@ -76,8 +75,8 @@ class LocalReader extends BasicReader {
        }
 
        @Override
-       public void start(SupportType type) {
-               final SupportType typeFinal = type;
+       public void start(String type) {
+               final String typeFinal = type;
                EventQueue.invokeLater(new Runnable() {
                        public void run() {
                                new LocalReaderFrame(LocalReader.this, typeFinal)
@@ -85,8 +84,4 @@ class LocalReader extends BasicReader {
                        }
                });
        }
-
-       public static void main(String[] args) throws IOException {
-               new LocalReader().start(null);
-       }
 }