]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormInclude.h
(Lars) Remove symbolic links on "make distclean".
[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 #include "FormDialogView.h"
17 #include "RadioButtonGroup.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class ControlInclude;
23 struct FD_include;
24
25 /** This class provides an XForms implementation of the Include Dialog.
26  */
27 class FormInclude
28         : public FormController<ControlInclude, FormView<FD_include> > {
29 public:
30         ///
31         FormInclude(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 showing it
38         virtual void update();
39         /// Filter the inputs on callback from xforms
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41
42         /// include type
43         RadioButtonGroup type_;
44 };
45
46 } // namespace frontend
47 } // namespace lyx
48
49 #endif // FORMINCLUDE_H