]> 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 7bcf7cf20c61a02039a37c47acc66cf797175b43..54e184d2098b64d77414aba27367b40fbfd3f0c9 100644 (file)
@@ -6,17 +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
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
 class ControlChanges;
 struct FD_changes;
@@ -24,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.
@@ -40,4 +40,7 @@ private:
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMCHANGES_H