2002-08-27 10:14:56 +00:00
|
|
|
// -*- C++ -*-
|
2002-09-12 14:58:06 +00:00
|
|
|
/**
|
|
|
|
* \file factory.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-08-27 10:14:56 +00:00
|
|
|
*
|
2008-11-14 15:58:50 +00:00
|
|
|
* \author André Pönitz
|
2002-08-27 10:14:56 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2002-09-12 14:58:06 +00:00
|
|
|
*/
|
2002-08-27 10:14:56 +00:00
|
|
|
|
|
|
|
#ifndef FACTORY_H
|
|
|
|
#define FACTORY_H
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
namespace lyx {
|
|
|
|
|
2004-01-15 17:34:44 +00:00
|
|
|
class Buffer;
|
2002-08-27 10:14:56 +00:00
|
|
|
class FuncRequest;
|
2007-04-29 13:39:47 +00:00
|
|
|
class Inset;
|
2004-01-15 17:34:44 +00:00
|
|
|
|
2024-04-27 22:24:46 +00:00
|
|
|
namespace support { class Lexer; }
|
2002-08-27 10:14:56 +00:00
|
|
|
|
|
|
|
/// creates inset according to 'cmd'
|
2009-11-08 15:53:21 +00:00
|
|
|
Inset * createInset(Buffer * buf, FuncRequest const & cmd);
|
2002-08-27 10:14:56 +00:00
|
|
|
|
2003-03-12 11:52:23 +00:00
|
|
|
/// read inset from a file
|
2024-04-27 22:24:46 +00:00
|
|
|
Inset * readInset(support::Lexer & lex, Buffer * buf);
|
2003-03-12 11:52:23 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
2003-03-12 11:52:23 +00:00
|
|
|
#endif // FACTORY_H
|