/** * \file GUI.h * Copyright 2001 The LyX Team. * See the file COPYING. * * \author Angus Leeming */ #ifndef GUI_H #define GUI_H /** This class instantiates and makes available the GUI-specific ButtonController and View. */ template class GUI : public Controller { public: /// GUI(LyXView & lv, Dialogs & d) : Controller(lv, d), view_(*this) {} /// virtual ButtonControllerBase & bc() { return bc_; } /// virtual ViewBase & view() { return view_; } private: /// ButtonController bc_; /// GUIview view_; }; /// Forward declaration of ButtonPolicies class OkCancelPolicy; class OkCancelReadOnlyPolicy; class NoRepeatedApplyReadOnlyPolicy; /** Specialization for Bibitem dialog */ class ControlBibitem; template class GUIBibitem : public GUI { public: /// GUIBibitem(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Bibtex dialog */ class ControlBibtex; template class GUIBibtex : public GUI { public: /// GUIBibtex(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Character dialog */ class ControlCharacter; template class GUICharacter : public GUI { public: /// GUICharacter(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Citation dialog */ class ControlCitation; template class GUICitation : public GUI { public: /// GUICitation(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Credits dialog */ class ControlCredits; template class GUICredits : public GUI { public: /// GUICredits(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Error dialog */ class ControlError; template class GUIError : public GUI { public: /// GUIError(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Include dialog */ class ControlInclude; template class GUIInclude : public GUI { public: /// GUIInclude(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Log dialog */ class ControlLog; template class GUILog : public GUI { public: /// GUILog(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for VCLog dialog */ class ControlVCLog; template class GUIVCLog : public GUI { public: /// GUIVCLog(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; #endif // GUI_H