]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormTexinfo.h
change some __GNUG_ to __GNUG__
[lyx.git] / src / frontends / xforms / FormTexinfo.h
1 // -*- C++ -*-
2 /**
3  * \file FormTexinfo.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Herbert Voss, voss@perce.de
8  */
9
10 #ifndef FORMTEXINFO_H
11 #define FORMTEXINFO_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18 #include "ControlTexinfo.h"
19
20 struct FD_form_texinfo;
21
22 class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_form_texinfo> > {
23 public:
24         ///
25         FormTexinfo(ControlTexinfo &);
26
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         /// Fdesign generated method
39         FD_form_texinfo * build_texinfo();
40         ///
41         ControlTexinfo::texFileSuffix activeStyle;
42 };
43
44 #endif // FORMTEXINFO_H