]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormFloat.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / FormFloat.h
index 38c2932cb0d9094acaae2eaa8fd98c4270c2d532..5eac685583fadf02445284d98f4cccfed171bb80 100644 (file)
@@ -6,29 +6,28 @@
  *
  * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMFLOAT_H
 #define FORMFLOAT_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "FormBase.h"
+#include "FormDialogView.h"
 #include "RadioButtonGroup.h"
 
+namespace lyx {
+namespace frontend {
+
 class ControlFloat;
 struct FD_float;
 
 /** This class provides an XForms implementation of the Float
     Dialog.
  */
-class FormFloat : public FormCB<ControlFloat, FormDB<FD_float> > {
+class FormFloat : public FormController<ControlFloat, FormView<FD_float> > {
 public:
        ///
-       FormFloat();
+       FormFloat(Dialog &);
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -43,4 +42,7 @@ private:
        RadioButtonGroup placement_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMFLOAT_H