*
* \author Alejandro Aguilar Sierra
* \author John Levon
- * \author Angus Leeming
+ * \author Angus Leeming
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORMINCLUDE_H
#define FORMINCLUDE_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-#include "FormBase.h"
+#include "FormDialogView.h"
+#include "RadioButtonGroup.h"
+
class ControlInclude;
struct FD_include;
/** This class provides an XForms implementation of the Include Dialog.
*/
-class FormInclude : public FormCB<ControlInclude, FormDB<FD_include> > {
+class FormInclude
+ : public FormController<ControlInclude, FormView<FD_include> > {
public:
///
- FormInclude();
+ FormInclude(Dialog &);
private:
/// Set the Params variable for the Controller.
virtual void apply();
virtual void update();
/// Filter the inputs on callback from xforms
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
+
+ /// include type
+ RadioButtonGroup type_;
};
-#endif
+#endif // FORMINCLUDE_H