]> git.lyx.org Git - features.git/blobdiff - src/BufferView.h
some new clipboard code
[features.git] / src / BufferView.h
index 1584f02f8eb777ad65f0b40da6904e7d8693585b..9c16d916e1cd5329a2fa74f6087fa89fcb013574 100644 (file)
@@ -24,6 +24,8 @@ class LyXText;
 class TeXErrors;
 class Buffer;
 
+#define XFORMS_CLIPBOARD 1
+
 ///
 class BufferView {
 public:
@@ -216,10 +218,16 @@ public:
        void enterView();
        ///
        void leaveView();
+#ifndef XFORMS_CLIPBOARD
        ///
        void workAreaSelectionNotify(Window win, XEvent * event);
+#endif
        ///
        bool ChangeRefs(string const & from, string const & to);
+#ifdef XFORMS_CLIPBOARD
+       ///
+       void pasteSelection(bool asPara);
+#endif
 private:
        struct Pimpl;
        Pimpl * pimpl_;