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.
16 #include "frontends/Gui.h"
17 #include "GuiClipboard.h"
19 #include <boost/shared_ptr.hpp>
32 * The GuiImplementation class is the interface to all Qt4 components.
34 class GuiImplementation: public Gui
38 virtual ~GuiImplementation() {}
40 Clipboard& clipboard();
42 int newView(unsigned int width, unsigned int height);
43 LyXView& view(int id);
44 void destroyView(int id);
45 int newWorkArea(unsigned int width, unsigned int height, int view_id);
46 int newWorkArea(int w, int h);
47 WorkArea& workArea(int id);
48 void destroyWorkArea(int id);
53 GuiClipboard clipboard_;
55 std::map<int, boost::shared_ptr<GuiView> > views_;
57 std::map<int, boost::shared_ptr<GuiWorkArea> > work_areas_;
64 } // namespace frontend