]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMinipage.h
Yet another tweak from J�rgen.
[lyx.git] / src / frontends / xforms / FormMinipage.h
index f0f92a96707fe9028654a7bfffa6e1bbef4e1e65..deaaa0eb2ccc5b6aaef0e555d22ccbc059f64f4d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /* This file is part of
  * ======================================================
  * 
 
 #include "FormBase.h"
 
-class LyXView;
-class Dialogs;
-class InsetMinipage;
+class ControlMinipage;
 struct FD_form_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_form_minipage> > {
 public:
        ///
        FormMinipage(ControlMinipage &);
-
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -43,6 +39,8 @@ private:
        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);
 
        /// Fdesign generated method
        FD_form_minipage * build_minipage();