]> 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 416400edbbca59097fb9380feb1aa9743e83e651..5eac685583fadf02445284d98f4cccfed171bb80 100644 (file)
@@ -1,32 +1,33 @@
 // -*- C++ -*-
 /**
  * \file FormFloat.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes, larsbj@lyx.org
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMFLOAT_H
 #define FORMFLOAT_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
+#include "RadioButtonGroup.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
 class ControlFloat;
-struct FD_form_float;
+struct FD_float;
 
 /** This class provides an XForms implementation of the Float
     Dialog.
  */
-class FormFloat : public FormCB<ControlFloat, FormDB<FD_form_float> > {
+class FormFloat : public FormController<ControlFloat, FormView<FD_float> > {
 public:
        ///
-       FormFloat(ControlFloat &);
-
+       FormFloat(Dialog &);
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -37,8 +38,11 @@ private:
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 
-       /// Fdesign generated method
-       FD_form_float * build_float();
+       /// placement
+       RadioButtonGroup placement_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMFLOAT_H