*
* \author Dekel Tsur
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORMWRAP_H
#define FORMWRAP_H
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
+#include "RadioButtonGroup.h"
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
class ControlWrap;
struct FD_wrap;
Dialog.
*/
class FormWrap
- : public FormCB<ControlWrap, FormDB<FD_wrap> > {
+ : public FormController<ControlWrap, FormView<FD_wrap> > {
public:
///
- FormWrap();
+ FormWrap(Dialog &);
private:
/// Set the Params variable for the Controller.
virtual void apply();
virtual void build();
/// Update dialog before/whilst showing it.
virtual void update();
- /// Filter the inputs on callback from xforms
- virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
+
+ /// placement
+ RadioButtonGroup placement_;
};
+} // namespace frontend
+} // namespace lyx
+
#endif // FORMWRAP_H