]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormTexinfo.h
2002-07-02 Lars Gullik Bj�nnes <larsbj@birdstep.com>
[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_texinfo;
21
22 class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_texinfo> > {
23 public:
24         ///
25         FormTexinfo(ControlTexinfo &, Dialogs &);
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