]> git.lyx.org Git - lyx.git/blobdiff - src/importer.h
* GuiView.C (updateTab): do not update early if current tab has
[lyx.git] / src / importer.h
index f00be23d410f77a77f92ca7d25dc3051b164db5b..634059d5f0bc717dbaad01c7fc198e8d1c93cdfa 100644 (file)
@@ -1,34 +1,44 @@
 // -*- C++ -*-
 /**
  * \file importer.h
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * 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
 
+#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