]> git.lyx.org Git - features.git/blobdiff - src/frontends/Clipboard.h
Split clipboard and X selection
[features.git] / src / frontends / Clipboard.h
index ca046429fee49adfca2610cb42c8dcf8590faf8c..d871b114e704d81c205f11fea56d31392ef31e97 100644 (file)
@@ -27,11 +27,17 @@ class Clipboard
 public:
        virtual ~Clipboard() {}
 
-       /// a selection exists
-       virtual void haveSelection(bool) = 0;
-       /// get the X clipboard contents
+       /**
+        * Get the window system clipboard contents.
+        * This should be called when the user requests to paste from the
+        * clipboard.
+        */
        virtual std::string const get() const = 0;
-       /// fill the clipboard
+       /**
+        * Fill the window system clipboard.
+        * This should be called when the user requests to cut or copy to
+        * the clipboard.
+        */
        virtual void put(std::string const &) = 0;
 };