]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMinipage.h
(John): translate dialog titles.
[lyx.git] / src / frontends / xforms / FormMinipage.h
index f0f92a96707fe9028654a7bfffa6e1bbef4e1e65..f905c1a2c9e33ef05a9588e8a4692a9a47637154 100644 (file)
@@ -1,14 +1,10 @@
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
- *      
- *          Copyright 2001 The LyX Team.
- *
- *======================================================
- *
+// -*- C++ -*-
+/**
  * \file FormMinipage.h
- * \author Juergen Vigna, jug@sad.it
+ * Copyright 2001 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Jürgen Vigna, jug@sad.it
  */
 
 #ifndef FORMMINIPAGE_H
 
 #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 +34,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();