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
|
|
|
|
*
|
2002-09-12 14:58:06 +00:00
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>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
|
|
|
|
|
|
2003-07-25 21:20:24 +00:00
|
|
|
|
class InsetOld;
|
2002-08-27 10:14:56 +00:00
|
|
|
|
class FuncRequest;
|
2003-03-12 11:52:23 +00:00
|
|
|
|
class LyXLex;
|
|
|
|
|
class Buffer;
|
2002-08-27 10:14:56 +00:00
|
|
|
|
|
|
|
|
|
/// creates inset according to 'cmd'
|
2003-07-25 21:20:24 +00:00
|
|
|
|
InsetOld * createInset(FuncRequest const & cmd);
|
2002-08-27 10:14:56 +00:00
|
|
|
|
|
2003-03-12 11:52:23 +00:00
|
|
|
|
/// read inset from a file
|
2003-07-25 21:20:24 +00:00
|
|
|
|
InsetOld * readInset(LyXLex & lex, Buffer const & buf);
|
2003-03-12 11:52:23 +00:00
|
|
|
|
|
|
|
|
|
#endif // FACTORY_H
|