]> git.lyx.org Git - lyx.git/blob - src/factory.h
Avoid full metrics computation with Update:FitCursor
[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 FuncRequest;
19 class Inset;
20
21 namespace support { class Lexer; }
22
23 /// creates inset according to 'cmd'
24 Inset * createInset(Buffer * buf, FuncRequest const & cmd);
25
26 /// read inset from a file
27 Inset * readInset(support::Lexer & lex, Buffer * buf);
28
29
30 } // namespace lyx
31
32 #endif // FACTORY_H