]> git.lyx.org Git - lyx.git/blob - src/importer.h
Fix crash when entering unhandled math objects in toolbar
[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 "LString.h"
20
21 class LyXView;
22
23 class Importer {
24 public:
25         ///
26         static
27         void Import(LyXView * lv, string const & filename, 
28                     string const & format);
29         static
30         bool IsImportable(string const & format);
31 };
32 #endif