4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * \author Abdelrazak Younes
11 * Full author contact details are available in file CREDITS.
17 #include <boost/shared_ptr.hpp>
31 * A Gui class manages the different frontend elements.
39 virtual int newView(unsigned int width, unsigned int height) = 0;
41 virtual LyXView & view(int id) = 0;
43 virtual void destroyView(int id) = 0;
46 virtual int newWorkArea(unsigned int width, unsigned int height, int view_id) = 0;
48 virtual WorkArea & workArea(int id) = 0;
50 virtual void destroyWorkArea(int id) = 0;
53 /// view of a buffer. Eventually there will be several.
54 std::map<int, boost::shared_ptr<BufferView> > buffer_views_;
57 } // namespace frontend