]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormInclude.h
Introduce LFUN_PRINT.
[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 "FormDialogView.h"
18 #include "RadioButtonGroup.h"
19
20
21 class ControlInclude;
22 struct FD_include;
23
24 /** This class provides an XForms implementation of the Include Dialog.
25  */
26 class FormInclude
27         : public FormController<ControlInclude, FormView<FD_include> > {
28 public:
29         ///
30         FormInclude(Dialog &);
31 private:
32         /// Set the Params variable for the Controller.
33         virtual void apply();
34         /// Build the dialog
35         virtual void build();
36         /// Update dialog before showing it
37         virtual void update();
38         /// Filter the inputs on callback from xforms
39         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
40
41         /// include type
42         RadioButtonGroup type_;
43 };
44
45 #endif // FORMINCLUDE_H