+ virtual void put(std::string const & lyx, docstring const & text) = 0;
+
+ /// Does the clipboard contain LyX contents?
+ virtual bool hasLyXContents() const = 0;
+ /// Does the clipboard contain text contents?
+ virtual bool hasTextContents() const = 0;
+ /// Does the clipboard contain graphics contents of a certain type?
+ virtual bool hasGraphicsContents(GraphicsType type = AnyGraphicsType) const = 0;
+ /// state of clipboard.
+ /// \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, and no supported graphics format is available.
+ virtual bool empty() const = 0;