]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormTexinfo.h
Move the Texinfo dialog to the new Dialog scheme.
[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 Voss
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
19 struct FD_texinfo;
20
21 class FormTexinfo
22         : public FormController<ControlTexinfo, FormView<FD_texinfo> > {
23 public:
24         ///
25         FormTexinfo(Dialog &);
26 private:
27         /// not needed
28         virtual void apply() {}
29         /// Build the dialog.
30         virtual void build();
31         /// not needed
32         virtual void update() {}
33         /// Filter the inputs on callback from xforms
34         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
35         ///
36         void updateStyles(ControlTexinfo::texFileSuffix);
37         ///
38         ControlTexinfo::texFileSuffix activeStyle;
39 };
40
41 #endif // FORMTEXINFO_H