]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormExternal.h
dont use pragma impementation and interface anymore
[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
18 #include "FormBase.h"
19 #include "insets/insetexternal.h"
20
21 class ControlExternal;
22 struct FD_external;
23
24 /// The class for editing External insets via a dialog
25 class FormExternal : public FormCB<ControlExternal, FormDB<FD_external> > {
26 public:
27         ///
28         FormExternal();
29 private:
30         /// apply changes
31         virtual void apply();
32
33         /// build the dialog
34         virtual void build();
35
36         /// update the dialog
37         virtual void update();
38
39         /// Filter the inputs on callback from xforms
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41
42         ///
43         void updateComboChange();
44 };
45
46 #endif // FORMEXTERNAL_H