]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormWrap.h
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
[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 #include "FormDialogView.h"
16 #include "RadioButtonGroup.h"
17
18 namespace lyx {
19 namespace frontend {
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 FormController<ControlWrap, FormView<FD_wrap> > {
29 public:
30         ///
31         FormWrap(Dialog &);
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
40         /// placement
41         RadioButtonGroup placement_;
42 };
43
44 } // namespace frontend
45 } // namespace lyx
46
47 #endif // FORMWRAP_H