]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormWrap.h
Add insetwrap.
[lyx.git] / src / frontends / xforms / FormWrap.h
1 // -*- C++ -*-
2 /**
3  * \file FormMinipage.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Dekel Tsur
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef FORMWRAP_H
13 #define FORMWRAP_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20
21 class ControlWrap;
22 struct FD_wrap;
23
24 /** This class provides an XForms implementation of the Wrap
25     Dialog.
26  */
27 class FormWrap
28         : public FormCB<ControlWrap, FormDB<FD_wrap> > {
29 public:
30         ///
31         FormWrap();
32 private:
33         /// Set the Params variable for the Controller.
34         virtual void apply();
35         /// Build the dialog.
36         virtual void build();
37         /// Update dialog before/whilst showing it.
38         virtual void update();
39         /// Filter the inputs on callback from xforms
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41 };
42
43 #endif // FORMWRAP_H