]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.h
Revert 23154.
[lyx.git] / src / LyXAction.h
index 4f7bc3cf3eccba57afa163b61b35c264ba909e7d..70fda4ab94acab1fd821e7459226e9df52c79492 100644 (file)
@@ -15,8 +15,6 @@
 
 #include "lfuns.h"
 
-#include <boost/noncopyable.hpp>
-
 #include <map>
 #include <string>
 
@@ -32,7 +30,7 @@ class FuncRequest;
  * dynamically, for encapsulating a real action and an
  * argument. They are used for things like the menus.
  */
-class LyXAction : boost::noncopyable {
+class LyXAction {
 public:
        /// category of an action, used in the Shortcuts dialog
        enum func_type {
@@ -56,6 +54,10 @@ private:
        };
 
 public:
+       /// noncopyable
+       LyXAction(LyXAction const &);
+       void operator=(LyXAction const &);
+
        /// type for map between a function name and its action
        typedef std::map<std::string, kb_action> func_map;
        /// type for map between an action and its info