]> git.lyx.org Git - lyx.git/blobdiff - src/importer.h
two patches from john
[lyx.git] / src / importer.h
index a505e44f4a47af5117e2d05cc20ed2cd35d9ca8f..089e6336b8aad4104f466e9a1feaf714b6bce912 100644 (file)
@@ -5,7 +5,7 @@
  *           LyX, The Document Processor
  *        
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
 #pragma interface
 #endif
 
+#include <vector>
 #include "LString.h"
 
 class LyXView;
+class Format;
 
 class Importer {
 public:
        ///
        static
-       void Import(LyXView * lv, string const & filename, 
+       bool Import(LyXView * lv, string const & filename, 
                    string const & format);
+#if 0
+       ///
        static
         bool IsImportable(string const & format);
+#endif
+       ///
+       static
+       std::vector<Format const *> const GetImportableFormats();
+private:
+       ///
+       static
+       std::vector<string> const Loaders();
 };
 #endif