]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiSelection.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / GuiSelection.h
1 // -*- C++ -*-
2 /**
3  * \file qt4/GuiSelection.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 SELECTION_H
15 #define SELECTION_H
16
17 #include "frontends/Selection.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 /**
23  * The Qt4 version of the Selection.
24  */
25 class GuiSelection: public Selection
26 {
27 public:
28         virtual ~GuiSelection() {}
29
30         /** Selection overloaded methods
31          */
32         //@{
33         void haveSelection(bool own);
34         docstring const get() const;
35         void put(docstring const & str);
36         //@}
37 };
38
39 } // namespace frontend
40 } // namespace lyx
41
42 #endif // SELECTION_H