]> git.lyx.org Git - lyx.git/blob - src/importer.h
ParagraphParameters and SharedContainer
[lyx.git] / src / importer.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  * 
5  *           LyX, The Document Processor
6  *        
7  *           Copyright 1995 Matthias Ettrich
8  *           Copyright 1995-2000 The LyX Team.
9  *
10  * ====================================================== */
11
12 #ifndef IMPORTER_H
13 #define IMPORTER_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include <vector>
20 #include "LString.h"
21
22 class LyXView;
23 class Format;
24
25 class Importer {
26 public:
27         ///
28         static
29         bool Import(LyXView * lv, string const & filename, 
30                     string const & format);
31 #if 0
32         ///
33         static
34         bool IsImportable(string const & format);
35 #endif
36         ///
37         static
38         std::vector<Format const *> const GetImportableFormats();
39 private:
40         ///
41         static
42         std::vector<string> const Loaders();
43 };
44 #endif