]> git.lyx.org Git - lyx.git/blob - src/factory.h
Update of documentation in the source related to bug 4135 and the function callback...
[lyx.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 namespace lyx {
16
17 class Buffer;
18 class BufferView;
19 class FuncRequest;
20 class Inset;
21 class Lexer;
22
23
24 /// creates inset according to 'cmd'
25 Inset * createInset(BufferView * bv, FuncRequest const & cmd);
26
27 /// read inset from a file
28 Inset * readInset(Lexer & lex, Buffer const & buf);
29
30
31 } // namespace lyx
32
33 #endif // FACTORY_H