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 LyXView& createRegisteredView() = 0;
43 virtual bool unregisterView(int id) = 0;
45 virtual bool closeAllViews()= 0;
48 virtual LyXView& view(int id) const = 0;
50 std::vector<int> const & viewIds()
56 virtual int newWorkArea(unsigned int width, unsigned int height, int view_id) = 0;
58 virtual WorkArea & workArea(int id) = 0;
62 std::vector<int> view_ids_;
65 } // namespace frontend