]> git.lyx.org Git - lyx.git/blobdiff - src/factory.h
next one
[lyx.git] / src / factory.h
index 0c7ec876009fca605b3b09b5aab217bc7cdaecc3..65d33b6db0b67dbe13b7a1129ee2456976c35c38 100644 (file)
 #ifndef FACTORY_H
 #define FACTORY_H
 
+namespace lyx {
+
 class Buffer;
 class BufferView;
 class FuncRequest;
-class InsetBase;
-class LyXLex;
+class Inset;
+class Lexer;
 
 
 /// creates inset according to 'cmd'
-InsetBase * createInset(BufferView * bv, FuncRequest const & cmd);
+Inset * createInset(BufferView * bv, FuncRequest const & cmd);
 
 /// read inset from a file
-InsetBase * readInset(LyXLex & lex, Buffer const & buf);
+Inset * readInset(Lexer & lex, Buffer const & buf);
+
+
+} // namespace lyx
 
 #endif // FACTORY_H