X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffactory.h;h=d0873d6d81af9a82a5fca525ca8a30f140fe3a25;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=d1a6d5e32efddd01d59b0302dcc93f8db101d806;hpb=70d0ba900118ac7e253c1e1969fd7a3d64ec8e03;p=lyx.git diff --git a/src/factory.h b/src/factory.h index d1a6d5e32e..d0873d6d81 100644 --- a/src/factory.h +++ b/src/factory.h @@ -12,17 +12,22 @@ #ifndef FACTORY_H #define FACTORY_H +namespace lyx { + class Buffer; class BufferView; class FuncRequest; -class InsetOld; +class InsetBase; class LyXLex; /// creates inset according to 'cmd' -InsetOld * createInset(BufferView * bv, FuncRequest const & cmd); +InsetBase * createInset(BufferView * bv, FuncRequest const & cmd); /// read inset from a file -InsetOld * readInset(LyXLex & lex, Buffer const & buf); +InsetBase * readInset(LyXLex & lex, Buffer const & buf); + + +} // namespace lyx #endif // FACTORY_H