]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormExternal.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormExternal.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2000-2001 The LyX Team.
8  *
9  * ======================================================
10  *
11  * \file FormExternal.h
12  * \author Asger Alstrup
13  * \author John Levon
14  * \author Angus Leeming, a.leeming@ic.ac.uk
15  */
16
17 #ifndef FORMEXTERNAL_H
18 #define FORMEXTERNAL_H
19
20 #ifdef __GNUG__
21 #pragma interface
22 #endif
23
24 #include "FormBase.h"
25 #include "insets/insetexternal.h"
26
27 class ControlExternal;
28 struct FD_form_external;
29
30 /// The class for editing External insets via a dialog
31 class FormExternal : public FormCB<ControlExternal, FormDB<FD_form_external> > {
32 public:
33         ///
34         FormExternal(ControlExternal &);
35
36 private:
37         /// apply changes
38         void apply();
39
40         /// build the dialog
41         void build();
42
43         /// update the dialog
44         void update();
45
46         /// Filter the inputs on callback from xforms
47         ButtonPolicy::SMInput input(FL_OBJECT *, long);
48
49         ///
50         void updateComboChange();
51
52         /// Fdesign generated method
53         FD_form_external * build_external();
54 };
55
56 #endif // FORMEXTERNAL_H