]> git.lyx.org Git - lyx.git/blob - src/importer.h
* languages: use nb_NO instead of no_NO for norwegian (bug 2850).
[lyx.git] / src / importer.h
1 // -*- C++ -*-
2 /**
3  * \file importer.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author unknown
8  * \author Jean-Marc Lasgouttes
9  * \author John Levon
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef IMPORTER_H
15 #define IMPORTER_H
16
17 #include <string>
18 #include <vector>
19
20
21 namespace lyx {
22
23 class LyXView;
24 class ErrorList;
25 class Format;
26
27 class Importer {
28 public:
29         ///
30         static bool Import(LyXView * lv, std::string const & filename,
31                     std::string const & format, ErrorList & errorList);
32
33         ///
34         static std::vector<Format const *> const GetImportableFormats();
35 private:
36         ///
37         static std::vector<std::string> const Loaders();
38 };
39
40 } // namespace lyx
41
42 #endif