]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormTexinfo.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormTexinfo.h
1 // -*- C++ -*-
2 /**
3  * \file FormTexinfo.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Herbert Voß
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef FORMTEXINFO_H
13 #define FORMTEXINFO_H
14
15
16 #include "FormDialogView.h"
17 #include "ControlTexinfo.h"
18 #include <map>
19
20 struct FD_texinfo;
21
22 class FormTexinfo
23         : public FormController<ControlTexinfo, FormView<FD_texinfo> > {
24 public:
25         ///
26         FormTexinfo(Dialog &);
27 private:
28         /// not needed
29         virtual void apply() {}
30         /// Build the dialog.
31         virtual void build();
32         /// not needed
33         virtual void update() {}
34         /// Filter the inputs on callback from xforms
35         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
36         ///
37         void updateStyles(ControlTexinfo::texFileSuffix);
38         ///
39         ControlTexinfo::texFileSuffix activeStyle;
40
41         ///
42         typedef std::vector<std::string> ContentsType;
43         std::map<ControlTexinfo::texFileSuffix, ContentsType> texdata_;
44 };
45
46 #endif // FORMTEXINFO_H