]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormFloat.h
change some __GNUG_ to __GNUG__
[lyx.git] / src / frontends / xforms / FormFloat.h
1 // -*- C++ -*-
2 /**
3  * \file FormFloat.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Lars Gullik Bjønnes, larsbj@lyx.org
8  */
9
10 #ifndef FORMFLOAT_H
11 #define FORMFLOAT_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18
19 class ControlFloat;
20 struct FD_form_float;
21
22 /** This class provides an XForms implementation of the Float
23     Dialog.
24  */
25 class FormFloat : public FormCB<ControlFloat, FormDB<FD_form_float> > {
26 public:
27         ///
28         FormFloat(ControlFloat &);
29
30 private:
31         /// Set the Params variable for the Controller.
32         virtual void apply();
33         /// Build the dialog.
34         virtual void build();
35         /// Update dialog before/whilst showing it.
36         virtual void update();
37         /// Filter the inputs on callback from xforms
38         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
39
40         /// Fdesign generated method
41         FD_form_float * build_float();
42 };
43
44 #endif // FORMFLOAT_H