]> git.lyx.org Git - lyx.git/blobdiff - src/importer.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / importer.h
index a505e44f4a47af5117e2d05cc20ed2cd35d9ca8f..7d62799cabd20e6034281f3c9069b3bdd7d1f55c 100644 (file)
@@ -1,32 +1,39 @@
 // -*- C++ -*-
-/* This file is part of
- * ====================================================== 
- * 
- *           LyX, The Document Processor
- *        
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+/**
+ * \file importer.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * ====================================================== */
+ * \author unknown
+ * \author Jean-Marc Lasgouttes
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
+ */
 
 #ifndef IMPORTER_H
 #define IMPORTER_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include <string>
+#include <vector>
 
-#include "LString.h"
 
 class LyXView;
+class Format;
 
 class Importer {
 public:
        ///
        static
-       void Import(LyXView * lv, string const & filename, 
-                   string const & format);
+       bool Import(LyXView * lv, std::string const & filename,
+                   std::string const & format);
+
+       ///
+       static
+       std::vector<Format const *> const GetImportableFormats();
+private:
+       ///
        static
-        bool IsImportable(string const & format);
+       std::vector<std::string> const Loaders();
 };
 #endif