]> git.lyx.org Git - lyx.git/blob - src/factory.h
Continue to improve GtkLengthEntry
[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 class Buffer;
16 class BufferView;
17 class FuncRequest;
18 class InsetBase;
19 class LyXLex;
20
21
22 /// creates inset according to 'cmd'
23 InsetBase * createInset(BufferView * bv, FuncRequest const & cmd);
24
25 /// read inset from a file
26 InsetBase * readInset(LyXLex & lex, Buffer const & buf);
27
28 #endif // FACTORY_H