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