3 * \file GuiImplementation.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Abdelrazak Younes
10 * Full author contact details are available in file CREDITS.
13 #ifndef GUI_IMPLEMENTATION_H
14 #define GUI_IMPLEMENTATION_H
16 #include "frontends/Gui.h"
17 #include "GuiClipboard.h"
19 #include <boost/shared_ptr.hpp>
30 * The GuiImplementation class is the interface to all Qt4 components.
32 class GuiImplementation: public Gui
35 GuiImplementation(QtView & owner);
36 virtual ~GuiImplementation() {}
38 Clipboard& clipboard();
40 int newWorkArea(int w, int h);
41 WorkArea& workArea(int id);
42 void destroyWorkArea(int id);
46 GuiClipboard clipboard_;
48 std::map<int, boost::shared_ptr<GuiWorkArea> > work_areas_;
55 } // namespace frontend
58 #endif // GUI_IMPLEMENTATION_H