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>
33 * A Gui class manages the different frontend elements.
41 virtual int newView() = 0;
43 virtual LyXView & view(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 bool closeAll() = 0;
53 std::vector<int> const & viewIds() { return view_ids_; };
56 /// view of a buffer. Eventually there will be several.
57 std::map<int, boost::shared_ptr<BufferView> > buffer_views_;
59 std::vector<int> view_ids_;
62 } // namespace frontend