]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormTexinfo.h
ditch FileInfo -> use boost.filesystem
[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 #include "FormDialogView.h"
16 #include "ControlTexinfo.h"
17 #include <map>
18
19 namespace lyx {
20 namespace frontend {
21
22 struct FD_texinfo;
23
24 class FormTexinfo
25         : public FormController<ControlTexinfo, FormView<FD_texinfo> > {
26 public:
27         ///
28         FormTexinfo(Dialog &);
29 private:
30         /// not needed
31         virtual void apply() {}
32         /// Build the dialog.
33         virtual void build();
34         /// not needed
35         virtual void update() {}
36         /// Filter the inputs on callback from xforms
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38         ///
39         void updateStyles(ControlTexinfo::texFileSuffix);
40         ///
41         ControlTexinfo::texFileSuffix activeStyle;
42
43         ///
44         typedef std::vector<std::string> ContentsType;
45         std::map<ControlTexinfo::texFileSuffix, ContentsType> texdata_;
46 };
47
48 } // namespace frontend
49 } // namespace lyx
50
51 #endif // FORMTEXINFO_H