]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMathsDelim.h
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / FormMathsDelim.h
1 // -*- C++ -*-
2 /**
3  * \file FormMathsDelim.h
4  * See the file COPYING.
5  *
6  * \author Alejandro Aguilar Sierra
7  * \author John Levon
8  * \author Angus Leeming 
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef FORM_MATHSDELIM_H
14 #define FORM_MATHSDELIM_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "FormMathsPanel.h"
21
22 #include <boost/scoped_ptr.hpp>
23
24 struct FD_maths_delim;
25
26 /**
27  * This class provides an XForms implementation of the maths delim.
28  */
29 class FormMathsDelim : public FormMathsSub {
30 public:
31         ///
32         FormMathsDelim(LyXView &, Dialogs &, FormMathsPanel const &);
33
34 private:
35         /// Build the dialog
36         virtual void build();
37         /// input handler
38         virtual bool input(FL_OBJECT *, long);
39         /// Apply from dialog (modify or create inset)
40         virtual void apply();
41
42         /// Pointer to the actual instantiation of the xforms form
43         virtual FL_FORM * form() const;
44
45         // Real GUI implementation
46         boost::scoped_ptr<FD_maths_delim> dialog_;
47 };
48
49 #endif //  FORM_MATHSDELIM_H