]> git.lyx.org Git - lyx.git/blobdiff - src/importer.h
move everything into namespace lyx
[lyx.git] / src / importer.h
index 012a9c65666265045fa88133c480964aeb3a5644..8791434719be801193b88ef3f47626b0d1a955cb 100644 (file)
 #ifndef IMPORTER_H
 #define IMPORTER_H
 
+#include <string>
 #include <vector>
 
 
+namespace lyx {
+
 class LyXView;
+class ErrorList;
 class Format;
 
 class Importer {
 public:
        ///
-       static
-       bool Import(LyXView * lv, std::string const & filename,
-                   std::string const & format);
+       static bool Import(LyXView * lv, std::string const & filename,
+                   std::string const & format, ErrorList & errorList);
 
        ///
-       static
-       std::vector<Format const *> const GetImportableFormats();
+       static std::vector<Format const *> const GetImportableFormats();
 private:
        ///
-       static
-       std::vector<std::string> const Loaders();
+       static std::vector<std::string> const Loaders();
 };
+
+} // namespace lyx
+
 #endif