]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMathsSpace.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormMathsSpace.h
1 // -*- C++ -*-
2 /**
3  * \file FormMathsSpace.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Alejandro Aguilar Sierra
8  * \author John Levon
9  * \author Angus Leeming
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef FORM_MATHSSPACE_H
15 #define FORM_MATHSSPACE_H
16
17
18 #include "FormDialogView.h"
19
20
21 class ControlMath;
22 struct FD_maths_space;
23
24 /**
25  * This class provides an XForms implementation of the maths space.
26  */
27 class FormMathsSpace
28         : public FormController<ControlMath, FormView<FD_maths_space> > {
29 public:
30         ///
31         FormMathsSpace(Dialog &);
32
33 private:
34         ///
35         virtual void apply();
36         ///
37         virtual void build();
38         ///
39         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
40         /// Not needed.
41         virtual void update() {}
42
43         /// The current choice.
44         int space_;
45 };
46
47 #endif //  FORM_MATHSSPACE_H