]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
cosmetics
[lyx.git] / src / LyX.h
index e7b18f40e393d652110ab93569ceb35e85ed037f..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/noncopyable.hpp>
-
 #include <string>
 
 namespace lyx {
@@ -48,7 +45,7 @@ class LyXView;
 }
 
 /// initial startup
-class LyX : boost::noncopyable {
+class LyX {
 public:
 
        LyX();
@@ -118,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();
 
@@ -144,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,
@@ -178,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);