]> git.lyx.org Git - lyx.git/blob - src/importer.h
fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section...
[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 class LyXView;
22 class Format;
23
24 class Importer {
25 public:
26         ///
27         static
28         bool Import(LyXView * lv, std::string const & filename,
29                     std::string const & format);
30
31         ///
32         static
33         std::vector<Format const *> const GetImportableFormats();
34 private:
35         ///
36         static
37         std::vector<std::string> const Loaders();
38 };
39 #endif