4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * \author Abdelrazak Younes
11 * Full author contact details are available in file CREDITS.
14 #ifndef BASE_CLIPBOARD_H
15 #define BASE_CLIPBOARD_H
23 * A Clipboard class manages the clipboard.
28 virtual ~Clipboard() {}
30 /// a selection exists
31 virtual void haveSelection(bool) = 0;
32 /// get the X clipboard contents
33 virtual std::string const get() const = 0;
34 /// fill the clipboard
35 virtual void put(std::string const &) = 0;
38 } // namespace frontend
41 #endif // BASE_CLIPBOARD_H