]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormInclude.h
2002-07-02 Lars Gullik Bj�nnes <larsbj@birdstep.com>
[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_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(ControlInclude &, Dialogs &);
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
40 #endif