]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormInclude.h
text2 chane, XFormsView
[lyx.git] / src / frontends / xforms / FormInclude.h
1 // -*- C++ -*-
2 /**
3  * \file FormInclude.h
4  * Copyright 2001 the LyX Team
5  * See the file COPYING
6  *
7  * \author Alejandro Aguilar Sierra
8  * \author John Levon, moz@compsoc.man.ac.uk
9  * \author Angus Leeming <a.leeming@ic.ac.uk>
10  */
11 #ifndef FORMINCLUDE_H
12 #define FORMINCLUDE_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "FormBase.h"
19
20 class ControlInclude;
21 struct FD_form_include;
22
23 /** This class provides an XForms implementation of the Include Dialog.
24  */
25 class FormInclude : public FormCB<ControlInclude, FormDB<FD_form_include> > {
26 public:
27         ///
28         FormInclude(ControlInclude &);
29
30 private:
31         /// Set the Params variable for the Controller.
32         virtual void apply();
33         /// Build the dialog
34         virtual void build();
35         /// Update dialog before showing it
36         virtual void update();
37         /// Filter the inputs on callback from xforms
38         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
39
40         /// Fdesign generated method
41         FD_form_include * build_include();
42 };
43
44 #endif