]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiClipboard.h
* src/frontends/qt4/ui/TextLayoutUi.ui:
[lyx.git] / src / frontends / qt4 / GuiClipboard.h
1 // -*- C++ -*-
2 /**
3  * \file qt4/GuiClipboard.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author unknown
8  * \author John Levon
9  * \author Abdelrazak Younes
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef CLIPBOARD_H
15 #define CLIPBOARD_H
16
17 #include "frontends/Clipboard.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 /**
23  * The Qt4 version of the Clipboard.
24  */
25 class GuiClipboard: public Clipboard
26 {
27 public:
28         virtual ~GuiClipboard() {}
29
30         /** Clipboard overloaded methods
31          */
32         //@{
33         std::string const getAsLyX() const;
34         docstring const getAsText() const;
35         void put(std::string const & lyx, docstring const & text);
36         bool hasLyXContents() const;
37         bool isInternal() const;
38         bool empty() const;
39         //@}
40 };
41
42 } // namespace frontend
43 } // namespace lyx
44
45 #endif // CLIPBOARD_H