]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
fix MSVC warning.
[lyx.git] / src / LyX.h
index efd82fd83f2809c0fbfbb5d3b8c23560b04f4f5b..e7b18f40e393d652110ab93569ceb35e85ed037f 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -15,7 +15,7 @@
 #define LYX_H
 
 #include <boost/scoped_ptr.hpp>
-#include <boost/utility.hpp>
+#include <boost/noncopyable.hpp>
 
 #include <string>
 
@@ -33,16 +33,19 @@ class Inset;
 class LyXFunc;
 class Server;
 class ServerSocket;
-class LyXView;
 class Messages;
 class Mover;
 class Movers;
 class Session;
 class KeyMap;
+class CmdDef;
 
 extern bool use_gui;
 
-namespace frontend { class Application; }
+namespace frontend {
+class Application;
+class LyXView;
+}
 
 /// initial startup
 class LyX : boost::noncopyable {
@@ -84,6 +87,9 @@ public:
        KeyMap & topLevelKeymap();
        KeyMap const & topLevelKeymap() const;
 
+       ///
+       CmdDef & topLevelCmdDef();
+
        ///
        Converters & converters();
        Converters & systemConverters();
@@ -96,12 +102,14 @@ public:
        void setGuiLanguage(std::string const & language);
 
        ///
-       LyXView * newLyXView();
+       frontend::LyXView * newLyXView();
 
        /** redraw \c inset in all the BufferViews in which it is currently
         *  visible. If successful return a pointer to the owning Buffer.
         */
-       Buffer const * const updateInset(Inset const *) const;
+       Buffer const * updateInset(Inset const *) const;
+
+       void hideDialogs(std::string const & name, Inset * inset) const;
 
        /// Execute batch commands if available.
        void execBatchCommands();