Update NEWS preparing for alpha1
[lyx.git] / src / factory.h
blob3dd96f0683099ed7582dec5d61af02980709d4e1
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 const & buf);
30 } // namespace lyx
32 #endif // FACTORY_H