]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormExternal.h
Tiny clean-ups.
[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 "FormDialogView.h"
19 #include <map>
20
21
22 class ControlExternal;
23 struct FD_external;
24
25 /// The class for editing External insets via a dialog
26 class FormExternal
27         : public FormController<ControlExternal, FormView<FD_external> > {
28 public:
29         ///
30         FormExternal(Dialog &);
31 private:
32         /// apply changes
33         virtual void apply();
34
35         /// build the dialog
36         virtual void build();
37
38         /// update the dialog
39         virtual void update();
40
41         /// Filter the inputs on callback from xforms
42         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
43
44         ///
45         void updateComboChange();
46
47         std::map<std::string, std::string> extra_;
48 };
49
50 #endif // FORMEXTERNAL_H