]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMinipage.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormMinipage.h
index 7ee939c9355486778d563ddd3697bcd8fe680f25..f43264b1614980a11853c55c2ffd4960f157bc83 100644 (file)
@@ -1,14 +1,12 @@
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
- *      
- *          Copyright 2001 The LyX Team.
+// -*- C++ -*-
+/**
+ * \file FormMinipage.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *======================================================
+ * \author Jürgen Vigna
  *
- * \file FormMinipage.h
- * \author Juergen Vigna, jug@sad.it
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMMINIPAGE_H
 #include "FormBase.h"
 
 class ControlMinipage;
-struct FD_form_minipage;
+struct FD_minipage;
 
 /** This class provides an XForms implementation of the Minipage
     Dialog.
  */
-class ControlMinipage;
-struct FD_form_minipage;
-
-class FormMinipage : public FormCB<ControlMinipage, FormDB<FD_form_minipage> > {
+class FormMinipage
+       : public FormCB<ControlMinipage, FormDB<FD_minipage> > {
 public:
        ///
-       FormMinipage(ControlMinipage &);
-
+       FormMinipage();
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -41,9 +36,8 @@ private:
        virtual void build();
        /// Update dialog before/whilst showing it.
        virtual void update();
-
-       /// Fdesign generated method
-       FD_form_minipage * build_minipage();
+       /// Filter the inputs on callback from xforms
+       virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 };
 
 #endif // FORMMINIPAGE_H