#ifndef IMPORTER_H
#define IMPORTER_H
+#include <string>
#include <vector>
-#include "LString.h"
+
+
+namespace lyx {
+
+namespace support { class FileName; }
class LyXView;
+class ErrorList;
class Format;
class Importer {
public:
///
- static
- bool Import(LyXView * lv, string const & filename,
- string const & format);
+ static bool Import(LyXView * lv, support::FileName 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<string> const Loaders();
+ static std::vector<std::string> const Loaders();
};
+
+} // namespace lyx
+
#endif