// -*- C++ -*- /** * \file GUI.h * Copyright 2001 The LyX Team. * See the file COPYING. * * \author Angus Leeming */ #ifndef GUI_H #define GUI_H #include "ButtonController.h" #include "ButtonController.tmpl" #include "ButtonPolicies.h" #include "ControlAboutlyx.h" #include "ControlBibitem.h" #include "ControlBibtex.h" #include "ControlCharacter.h" #include "ControlCitation.h" #include "ControlError.h" #include "ControlERT.h" #include "ControlExternal.h" #include "ControlFloat.h" #include "ControlForks.h" #include "ControlGraphics.h" #include "insets/insetgraphicsParams.h" #include "ControlInclude.h" #include "ControlIndex.h" #include "ControlLog.h" #include "ControlMinipage.h" #include "ControlPreamble.h" #include "ControlPrint.h" #include "ControlRef.h" #include "ControlSearch.h" #include "ControlShowFile.h" #include "ControlSpellchecker.h" #include "ControlTabularCreate.h" #include "ControlTexinfo.h" #include "ControlThesaurus.h" #include "ControlToc.h" #include "ControlUrl.h" #include "ControlVCLog.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_; }; /** Specialization for About LyX dialog */ template class GUIAboutlyx : public GUI { public: /// GUIAboutlyx(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Bibitem dialog */ template class GUIBibitem : public GUI { public: /// GUIBibitem(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Bibtex dialog */ template class GUIBibtex : public GUI { public: /// GUIBibtex(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Character dialog */ template class GUICharacter : public GUI { public: /// GUICharacter(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Citation dialog */ template class GUICitation : public GUI { public: /// GUICitation(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Error dialog */ template class GUIError : public GUI { public: /// GUIError(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for ERT dialog */ template class GUIERT : public GUI { public: /// GUIERT(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for External dialog */ template class GUIExternal : public GUI { public: /// GUIExternal(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Forks dialog */ template class GUIForks : public GUI { public: /// GUIForks(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Graphics dialog */ template class GUIGraphics : public GUI { public: /// GUIGraphics(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Include dialog */ template class GUIInclude : public GUI { public: /// GUIInclude(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Index dialog */ template class GUIIndex : public GUI { public: /// GUIIndex(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Log dialog */ template class GUILog : public GUI { public: /// GUILog(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Minipage dialog */ template class GUIMinipage : public GUI { public: /// GUIMinipage(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Float dialog */ template class GUIFloat : public GUI { public: /// GUIFloat(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Preamble dialog */ template class GUIPreamble : public GUI { public: /// GUIPreamble(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Print dialog */ template class GUIPrint : public GUI { public: /// GUIPrint(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Ref dialog */ template class GUIRef : public GUI { public: /// GUIRef(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Search dialog */ template class GUISearch : public GUI { public: /// GUISearch(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for ShowFile dialog */ template class GUIShowFile : public GUI { public: /// GUIShowFile(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Spellchecker dialog */ template class GUISpellchecker : public GUI { public: /// GUISpellchecker(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Toc dialog */ template class GUIToc : public GUI { public: /// GUIToc(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for TabularCreate dialog */ template class GUITabularCreate : public GUI { public: /// GUITabularCreate(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Texinfo dialog */ template class GUITexinfo : public GUI { public: /// GUITexinfo(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Thesaurus dialog */ template class GUIThesaurus : public GUI { public: /// GUIThesaurus(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for Url dialog */ template class GUIUrl : public GUI { public: /// GUIUrl(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; /** Specialization for VCLog dialog */ template class GUIVCLog : public GUI { public: /// GUIVCLog(LyXView & lv, Dialogs & d) : GUI(lv, d) {} }; #endif // GUI_H