]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMathsMatrix.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormMathsMatrix.h
1 // -*- C++ -*-
2 /**
3  * \file FormMathsMatrix.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_MATHSMATRIX_H
15 #define FORM_MATHSMATRIX_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "FormBase.h"
22
23 class ControlMathSub;
24 struct FD_maths_matrix;
25
26 /**
27  * This class provides an XForms implementation of the maths matrix.
28  */
29 class FormMathsMatrix : public FormCB<ControlMathSub, FormDB<FD_maths_matrix> >
30 {
31 public:
32         ///
33         FormMathsMatrix();
34         ///
35         int AlignFilter(char const *, int);
36
37 private:
38         ///
39         virtual void apply();
40         ///
41         virtual void build();
42         ///
43         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
44         ///
45         virtual void update();
46 };
47
48 #endif //  FORM_MATHSMATRIX_H