]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormTexinfo.h
fix crash with "save as"
[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 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20 #include "ControlTexinfo.h"
21
22 struct FD_texinfo;
23
24 class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_texinfo> > {
25 public:
26         ///
27         FormTexinfo();
28 private:
29         /// not needed
30         virtual void apply() {}
31         /// Build the dialog.
32         virtual void build();
33         /// not needed
34         virtual void update() {}
35         /// Filter the inputs on callback from xforms
36         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
37         ///
38         void updateStyles(ControlTexinfo::texFileSuffix);
39         ///
40         ControlTexinfo::texFileSuffix activeStyle;
41 };
42
43 #endif // FORMTEXINFO_H