]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormChanges.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / FormChanges.h
index fc680c5965f5c8a06b5f35c2c8db970ac6f01d29..54e184d2098b64d77414aba27367b40fbfd3f0c9 100644 (file)
@@ -6,13 +6,16 @@
  *
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMCHANGES_H
 #define FORMCHANGES_H
 
-#include "FormBase.h"
+#include "FormDialogView.h"
+
+namespace lyx {
+namespace frontend {
 
 class ControlChanges;
 struct FD_changes;
@@ -20,9 +23,10 @@ struct FD_changes;
 /**
  * This class provides an XForms implementation of the Merge Changes Dialog.
  */
-class FormChanges : public FormCB<ControlChanges, FormDB<FD_changes> > {
+class FormChanges
+       : public FormController<ControlChanges, FormView<FD_changes> > {
 public:
-       FormChanges();
+       FormChanges(Dialog &);
 
 private:
        /// not needed.
@@ -36,4 +40,7 @@ private:
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMCHANGES_H