]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Selection.h
merge controllers/Makefile.am and controllers/tests/Makefile.am
[lyx.git] / src / frontends / Selection.h
index 6c7e7829827cb1a4e0688e883f52f6b314500835..9f8af37f2d25b965e29cabe6ea522f451be84491 100644 (file)
@@ -57,11 +57,17 @@ public:
         * from the kernel and push it to X with this method.
         */
        virtual void put(docstring const &) = 0;
+       /**
+        * Is the X selection empty?
+        * This does always return true on systems that don't have a real
+        * selection.
+        */
+       virtual bool empty() const = 0;
 };
 
 } // namespace frontend
 
-/// Implementation is in Application.C
+/// Implementation is in Application.cpp
 extern frontend::Selection & theSelection();
 
 } // namespace lyx