2 * \file FormMathsDeco.h
3 * Copyright 2001 The LyX Team.
4 * See the file COPYING.
6 * \author Alejandro Aguilar Sierra
7 * \author John Levon, moz@compsoc.man.ac.uk
8 * \author Angus Leeming, a.leeming@ic.ac.uk
11 #ifndef FORM_MATHSDECO_H
12 #define FORM_MATHSDECO_H
14 #include <boost/smart_ptr.hpp>
20 #include "FormMathsPanel.h"
22 struct FD_form_maths_deco;
25 * This class provides an XForms implementation of the maths deco.
27 class FormMathsDeco : public FormMathsSub {
30 FormMathsDeco(LyXView *, Dialogs *, FormMathsPanel const &);
35 /// Apply from dialog (modify or create inset)
38 /// Pointer to the actual instantiation of the xforms form
39 virtual FL_FORM * form() const;
42 FD_form_maths_deco * build_maths_deco();
44 // Real GUI implementation
45 boost::scoped_ptr<FD_form_maths_deco> dialog_;
48 #endif // FORM_MATHSDECO_H