]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsPanel.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / FormMathsPanel.h
index 670dc72640370802c414d31644935865d0bf41b4..48427cff873588a3ea6258205d798921edbd202b 100644 (file)
@@ -8,14 +8,16 @@
  * \author John Levon
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORM_MATHSPANEL_H
 #define FORM_MATHSPANEL_H
 
+#include "FormDialogView.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
 class ControlMath;
 struct FD_maths_panel;
@@ -23,10 +25,11 @@ struct FD_maths_panel;
 /**
  * This class provides an XForms implementation of the maths panel.
  */
-class FormMathsPanel : public FormCB<ControlMath, FormDB<FD_maths_panel> > {
+class FormMathsPanel
+       : public FormController<ControlMath, FormView<FD_maths_panel> > {
 public:
        ///
-       FormMathsPanel();
+       FormMathsPanel(Dialog &);
 
 private:
        /// Not needed.
@@ -40,4 +43,7 @@ private:
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif //  FORM_MATHSPANEL_H