*
* \author André Pönitz
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FACTORY_H
#define FACTORY_H
-class Inset;
+class InsetOld;
class FuncRequest;
+class LyXLex;
+class Buffer;
/// creates inset according to 'cmd'
-Inset * createInset(FuncRequest const & cmd);
+InsetOld * createInset(FuncRequest const & cmd);
-#endif
+/// read inset from a file
+InsetOld * readInset(LyXLex & lex, Buffer const & buf);
+
+#endif // FACTORY_H