]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormExternal.h
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormExternal.h
1 // -*- C++ -*-
2 /**
3  * \file FormExternal.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Asger Alstrup Nielsen
8  * \author John Levon
9  * \author Angus Leeming 
10  *
11  * Full author contact details are available in file CREDITS
12  */
13
14 #ifndef FORMEXTERNAL_H
15 #define FORMEXTERNAL_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "FormBase.h"
22 #include "insets/insetexternal.h"
23
24 class ControlExternal;
25 struct FD_external;
26
27 /// The class for editing External insets via a dialog
28 class FormExternal : public FormCB<ControlExternal, FormDB<FD_external> > {
29 public:
30         ///
31         FormExternal();
32 private:
33         /// apply changes
34         void apply();
35
36         /// build the dialog
37         void build();
38
39         /// update the dialog
40         void update();
41
42         /// Filter the inputs on callback from xforms
43         ButtonPolicy::SMInput input(FL_OBJECT *, long);
44
45         ///
46         void updateComboChange();
47 };
48
49 #endif // FORMEXTERNAL_H