]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormWrap.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormWrap.h
1 // -*- C++ -*-
2 /**
3  * \file FormWrap.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 #include "RadioButtonGroup.h"
21
22 class ControlWrap;
23 struct FD_wrap;
24
25 /** This class provides an XForms implementation of the Wrap
26     Dialog.
27  */
28 class FormWrap
29         : public FormCB<ControlWrap, FormDB<FD_wrap> > {
30 public:
31         ///
32         FormWrap();
33 private:
34         /// Set the Params variable for the Controller.
35         virtual void apply();
36         /// Build the dialog.
37         virtual void build();
38         /// Update dialog before/whilst showing it.
39         virtual void update();
40
41         /// placement
42         RadioButtonGroup placement_;
43 };
44
45 #endif // FORMWRAP_H