]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsMatrix.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormMathsMatrix.h
index 25a1dab1ead96c03628c9f077d0c4543c29baf19..ba9d7c05a8d3d5c62c08a98df80a909b7239c621 100644 (file)
@@ -8,29 +8,28 @@
  * \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_MATHSMATRIX_H
 #define FORM_MATHSMATRIX_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
-class ControlMathSub;
+class ControlMath;
 struct FD_maths_matrix;
 
 /**
  * This class provides an XForms implementation of the maths matrix.
  */
-class FormMathsMatrix : public FormCB<ControlMathSub, FormDB<FD_maths_matrix> >
-{
+class FormMathsMatrix
+       : public FormController<ControlMath, FormView<FD_maths_matrix> > {
 public:
        ///
-       FormMathsMatrix();
+       FormMathsMatrix(Dialog &);
        ///
        int AlignFilter(char const *, int);
 
@@ -45,4 +44,7 @@ private:
        virtual void update();
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif //  FORM_MATHSMATRIX_H