]> git.lyx.org Git - features.git/blob - src/factory.h
The final parsing patch. Tested on a variety of weird and wonderful things
[features.git] / src / factory.h
1 // -*- C++ -*-
2 /**
3  * \file factory.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef FACTORY_H
13 #define FACTORY_H
14
15 class Inset;
16 class FuncRequest;
17 class LyXLex;
18 class Buffer;
19
20 /// creates inset according to 'cmd'
21 Inset * createInset(FuncRequest const & cmd);
22
23 /// read inset from a file
24 Inset * readInset(LyXLex & lex, Buffer const & buf);
25
26 #endif // FACTORY_H