]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormInclude.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormInclude.h
index f4743adfbee882ec21d00088669a4759a0b76a41..5bd8464335b515a8da38305894b230f3c45711b6 100644 (file)
@@ -8,26 +8,27 @@
  * \author John Levon
  * \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 "FormDialogView.h"
+#include "RadioButtonGroup.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
 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();
@@ -37,6 +38,12 @@ private:
        virtual void update();
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
+
+       /// include type
+       RadioButtonGroup type_;
 };
 
-#endif
+} // namespace frontend
+} // namespace lyx
+
+#endif // FORMINCLUDE_H