X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffactory.h;h=d0873d6d81af9a82a5fca525ca8a30f140fe3a25;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=f9d76b39c50309825a1211446f3505a44d67b370;hpb=0be0fcfd5907d448cd51addf83ed7032719a0692;p=lyx.git diff --git a/src/factory.h b/src/factory.h index f9d76b39c5..d0873d6d81 100644 --- a/src/factory.h +++ b/src/factory.h @@ -12,15 +12,22 @@ #ifndef FACTORY_H #define FACTORY_H -class InsetOld; +namespace lyx { + +class Buffer; +class BufferView; class FuncRequest; +class InsetBase; class LyXLex; -class Buffer; + /// creates inset according to 'cmd' -InsetOld * createInset(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