]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormInclude.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormInclude.h
index e2f9a7b457aa309fabfda8aa5e230400f5f145c0..cfa8504035bf687d617d4c8de291aca9d24c3f5c 100644 (file)
@@ -1,32 +1,33 @@
 // -*- C++ -*-
 /**
  * \file FormInclude.h
- * Copyright 2001 the LyX Team
- * See the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author John Levon
+ * \author Angus Leeming
+ *
+ * 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_form_include;
+struct FD_include;
 
 /** This class provides an XForms implementation of the Include Dialog.
  */
-class FormInclude : public FormCB<ControlInclude, FormDB<FD_form_include> > {
+class FormInclude
+       : public FormController<ControlInclude, FormView<FD_include> > {
 public:
        ///
-       FormInclude(ControlInclude &);
-
+       FormInclude(Dialog &);
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -37,10 +38,8 @@ private:
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 
-       ///
-       ButtonPolicy::SMInput inputBrowse();
-       /// Type definition from the fdesign produced header file.
-       FD_form_include * build_include();
+       /// include type
+       RadioButtonGroup type_;
 };
 
-#endif
+#endif // FORMINCLUDE_H