Another minor change, but this should almost get us to the point that we
[lyx.git] / src / factory.h
blobae2265e674571a04c3ff2868fde6e24f41cdce79
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.
7 * \author André Pönitz
9 * Full author contact details are available in file CREDITS.
12 #ifndef FACTORY_H
13 #define FACTORY_H
15 namespace lyx {
17 class Buffer;
18 class FuncRequest;
19 class Inset;
20 class Lexer;
23 /// creates inset according to 'cmd'
24 Inset * createInset(Buffer * buf, FuncRequest const & cmd);
26 /// read inset from a file
27 Inset * readInset(Lexer & lex, Buffer * buf);
30 } // namespace lyx
32 #endif // FACTORY_H