]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/GUI.h
Implemented controller-view split for minipage and preamble popups.
[lyx.git] / src / frontends / controllers / GUI.h
index fbe6a4ddf2ac3d0b4470f0364139beb571ab069a..3881ec756426e8ac5001aa8d4eeac7520124249e 100644 (file)
@@ -168,6 +168,34 @@ public:
 };
 
 
+/** Specialization for Minipage dialog
+ */
+class ControlMinipage;
+
+template <class GUIview, class GUIbc>
+class GUIMinipage :
+       public GUI<ControlMinipage, GUIview, OkApplyCancelReadOnlyPolicy, GUIbc> {
+public:
+       ///
+       GUIMinipage(LyXView & lv, Dialogs & d)
+               : GUI<ControlMinipage, GUIview, OkApplyCancelReadOnlyPolicy, GUIbc>(lv, d) {}
+};
+
+
+/** Specialization for Preamble dialog
+ */
+class ControlPreamble;
+
+template <class GUIview, class GUIbc>
+class GUIPreamble :
+       public GUI<ControlPreamble, GUIview, NoRepeatedApplyReadOnlyPolicy, GUIbc> {
+public:
+       ///
+       GUIPreamble(LyXView & lv, Dialogs & d)
+               : GUI<ControlPreamble, GUIview, NoRepeatedApplyReadOnlyPolicy, GUIbc>(lv, d) {}
+};
+
+
 /** Specialization for Print dialog
  */
 class ControlPrint;