]> git.lyx.org Git - lyx.git/blob - src/Importer.h
* some more traces of the signals in CursorSlice
[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 namespace support { class FileName; }
24
25 class LyXView;
26 class ErrorList;
27 class Format;
28
29 class Importer {
30 public:
31         ///
32         static bool Import(LyXView * lv, support::FileName const & filename,
33                     std::string const & format, ErrorList & errorList);
34
35         ///
36         static std::vector<Format const *> const GetImportableFormats();
37 private:
38         ///
39         static std::vector<std::string> const Loaders();
40 };
41
42 } // namespace lyx
43
44 #endif