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"
18 #include <boost/shared_ptr.hpp>
31 * The GuiImplementation class is the interface to all Qt4 components.
33 class GuiImplementation: public Gui
37 virtual ~GuiImplementation() {}
39 int newView(unsigned int width, unsigned int height);
40 LyXView& view(int id);
41 void destroyView(int id);
42 int newWorkArea(unsigned int width, unsigned int height, int view_id);
43 int newWorkArea(int w, int h);
44 WorkArea& workArea(int id);
45 void destroyWorkArea(int id);
50 std::map<int, boost::shared_ptr<GuiView> > views_;
52 std::map<int, boost::shared_ptr<GuiWorkArea> > work_areas_;
59 } // namespace frontend