]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
cosmetics
[lyx.git] / src / LyX.h
index 534704957ef2807887354662b257edd49b9bf589..055c3583ac07f2de9a1d690923c1af05bc2236c6 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -14,9 +14,6 @@
 #ifndef LYX_H
 #define LYX_H
 
-#include <boost/scoped_ptr.hpp>
-#include <boost/utility.hpp>
-
 #include <string>
 
 namespace lyx {
@@ -38,6 +35,7 @@ class Mover;
 class Movers;
 class Session;
 class KeyMap;
+class CmdDef;
 
 extern bool use_gui;
 
@@ -47,7 +45,7 @@ class LyXView;
 }
 
 /// initial startup
-class LyX : boost::noncopyable {
+class LyX {
 public:
 
        LyX();
@@ -86,6 +84,9 @@ public:
        KeyMap & topLevelKeymap();
        KeyMap const & topLevelKeymap() const;
 
+       ///
+       CmdDef & topLevelCmdDef();
+
        ///
        Converters & converters();
        Converters & systemConverters();
@@ -114,6 +115,10 @@ public:
        void addFileToLoad(support::FileName const &);
 
 private:
+       /// noncopyable
+       LyX(LyX const &);
+       void operator=(LyX const &);
+
        /// Do some cleanup in preparation of an exit.
        void prepareExit();
 
@@ -140,8 +145,6 @@ private:
 
        /// initial LyX set up
        bool init();
-       /// set up the default key bindings
-       void defaultKeyBindings(KeyMap * kbmap);
        /// set up the default dead key bindings if requested
        void deadKeyBindings(KeyMap * kbmap);
        /** Check for the existence of the user's support directory and,
@@ -174,7 +177,7 @@ private:
 
        /// Use the Pimpl idiom to hide the internals.
        struct Singletons;
-       boost::scoped_ptr<Singletons> pimpl_;
+       Singletons * pimpl_;
 
        friend Movers & theMovers();
        friend Mover const & getMover(std::string  const & fmt);