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() {}
40 LyXView& view(int id);
41 void destroyView(int id);
42 int newWorkArea(unsigned int width, unsigned int height, int view_id);
43 WorkArea& workArea(int id);
44 void destroyWorkArea(int id);
49 std::map<int, boost::shared_ptr<GuiView> > views_;
51 std::map<int, boost::shared_ptr<GuiWorkArea> > work_areas_;
58 } // namespace frontend