]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Clipboard.h
* src/frontends/qt4/GuiBibtex.{cpp,h}:
[lyx.git] / src / frontends / Clipboard.h
index deddf5b0c98e72e914528b7907a94652af86d332..812dd43a8426dd3dab100144e247d40a032a2c5d 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef BASE_CLIPBOARD_H
 #define BASE_CLIPBOARD_H
 
-#include "support/docstring.h"
+#include "support/strfwd.h"
 
 namespace lyx {
 namespace frontend {
@@ -52,15 +52,21 @@ public:
        /// Does the clipboard contain LyX contents?
        virtual bool hasLyXContents() const = 0;
        /// state of clipboard.
-       /// \retval true if the system clipboard has been set within LyX.
+       /// \returns true if the system clipboard has been set within LyX
+       /// (document contents, dialogs count as external here).
        virtual bool isInternal() const = 0;
+       /// \returns true if the OS has the concept of clipboard ownership,
+       /// which is crucial for our concept of internal clipboard.
+       virtual bool hasInternal() const = 0;
        /// Is the clipboard empty?
+       /// \returns true if both the LyX and the plaintext versions of the
+       /// clipboard are empty.
        virtual bool empty() const = 0;
 };
 
 } // namespace frontend
 
-/// Implementation is in Application.C
+/// Implementation is in Application.cpp
 extern frontend::Clipboard & theClipboard();
 
 } // namespace lyx