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>
32 * A Gui class manages the different frontend elements.
40 virtual Clipboard & clipboard() = 0;
43 virtual int newView(unsigned int width, unsigned int height) = 0;
45 virtual LyXView & view(int id) = 0;
47 virtual void destroyView(int id) = 0;
50 virtual int newWorkArea(unsigned int width, unsigned int height, int view_id) = 0;
52 virtual WorkArea & workArea(int id) = 0;
54 virtual void destroyWorkArea(int id) = 0;
57 /// view of a buffer. Eventually there will be several.
58 std::map<int, boost::shared_ptr<BufferView> > buffer_views_;
61 } // namespace frontend