]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / BufferView.h
index e1d8ffec43dcb33a13452a40f242e868123fc432..56cafa50c62cc0ced9f1d71d74fd92e0a7e64d0e 100644 (file)
@@ -17,7 +17,9 @@
 #endif
 
 #include FORMS_H_LOCATION
+#include "LString.h"
 #include "undo.h"
+#include "commandtags.h"
 #include <boost/utility.hpp>
 
 class LyXView;
@@ -29,7 +31,7 @@ class WorkArea;
 class Language;
 
 ///
-class BufferView : public noncopyable {
+class BufferView : public boost::noncopyable {
 public:
        ///
        enum UpdateCodes {
@@ -238,24 +240,6 @@ public:
 
        ///
        void pushIntoUpdateList(Inset * i);
-#if 0
-       ///
-       void workAreaExpose();
-       ///
-       void workAreaButtonPress(int x, int y, unsigned int button);
-       ///
-       void workAreaButtonRelease(int x, int y, unsigned int button);
-       ///
-       void workAreaMotionNotify(int x, int y, unsigned int state);
-       ///
-       void doubleClick(int x, int y, unsigned int button);
-       ///
-       void tripleClick(int x, int y, unsigned int button);
-       ///
-       void enterView();
-       ///
-       void leaveView();
-#endif
        ///
        bool ChangeInsets(Inset::Code code, string const & from, 
                          string const & to);
@@ -267,6 +251,8 @@ public:
        void pasteClipboard(bool asPara);
        ///
        void stuffClipboard(string const &) const;
+       ///
+       bool Dispatch(kb_action action, string const & argument);
 private:
        struct Pimpl;
        ///