]> git.lyx.org Git - features.git/blob - src/frontends/xforms/FormExternal.h
620a1152e3a1b295c1e46c471578441513313cde
[features.git] / src / frontends / xforms / FormExternal.h
1 // -*- C++ -*-
2 /**
3  * \file FormExternal.h
4  * Copyright 2000-2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Asger Alstrup Nielsen
8  * \author John Levon, moz@compsoc.man.ac.uk
9  * \author Angus Leeming <leeming@lyx.org>
10  */
11
12 #ifndef FORMEXTERNAL_H
13 #define FORMEXTERNAL_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20 #include "insets/insetexternal.h"
21
22 class ControlExternal;
23 struct FD_external;
24
25 /// The class for editing External insets via a dialog
26 class FormExternal : public FormCB<ControlExternal, FormDB<FD_external> > {
27 public:
28         ///
29         FormExternal();
30 private:
31         /// apply changes
32         void apply();
33
34         /// build the dialog
35         void build();
36
37         /// update the dialog
38         void update();
39
40         /// Filter the inputs on callback from xforms
41         ButtonPolicy::SMInput input(FL_OBJECT *, long);
42
43         ///
44         void updateComboChange();
45 };
46
47 #endif // FORMEXTERNAL_H