]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
Fix scons and CmdDef.h for the introduction of CmdDef.
[lyx.git] / src / LyX.h
index be52628497873086926627bff0cfc08f3519240a..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>
 
@@ -38,6 +38,7 @@ class Mover;
 class Movers;
 class Session;
 class KeyMap;
+class CmdDef;
 
 extern bool use_gui;
 
@@ -86,6 +87,9 @@ public:
        KeyMap & topLevelKeymap();
        KeyMap const & topLevelKeymap() const;
 
+       ///
+       CmdDef & topLevelCmdDef();
+
        ///
        Converters & converters();
        Converters & systemConverters();
@@ -103,7 +107,7 @@ public:
        /** 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;