// -*- C++ -*- /** * \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 View for the Splash screen controller. */ template class GUISplash : public ControlSplash { public: /// GUISplash(Dialogs & d) : ControlSplash(d), view_(*this) {} /// virtual ViewSplash & view() { return view_; } private: /// GUIview view_; }; /** 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 About LyX dialog */ class ControlAboutlyx; template class GUIAboutlyx : public GUI { public: /// GUIAboutlyx(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** 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 Error dialog */ class ControlError; template class GUIError : public GUI { public: /// GUIError(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for External dialog */ class ControlExternal; template class GUIExternal : public GUI { public: /// GUIExternal(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Graphics dialog */ class ControlGraphics; template class GUIGraphics : public GUI { public: /// GUIGraphics(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 Index dialog */ class ControlIndex; template class GUIIndex : public GUI { public: /// GUIIndex(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 Minipage dialog */ class ControlMinipage; template class GUIMinipage : public GUI { public: /// GUIMinipage(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Float dialog */ class ControlFloat; template class GUIFloat : public GUI { public: /// GUIFloat(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Preamble dialog */ class ControlPreamble; template class GUIPreamble : public GUI { public: /// GUIPreamble(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Print dialog */ class ControlPrint; template class GUIPrint : public GUI { public: /// GUIPrint(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Ref dialog */ class ControlRef; template class GUIRef : public GUI { public: /// GUIRef(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Search dialog */ class ControlSearch; template class GUISearch : public GUI { public: /// GUISearch(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Spellchecker dialog */ class ControlSpellchecker; template class GUISpellchecker : public GUI { public: /// GUISpellchecker(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Toc dialog */ class ControlToc; template class GUIToc : public GUI { public: /// GUIToc(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for TabularCreate dialog */ class ControlTabularCreate; template class GUITabularCreate : public GUI { public: /// GUITabularCreate(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for TabularCreate dialog */ class ControlThesaurus; template class GUIThesaurus : public GUI { public: /// GUIThesaurus(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Url dialog */ class ControlUrl; template class GUIUrl : public GUI { public: /// GUIUrl(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