3 * \file FormMathsDelim.h
4 * Copyright 2001 The LyX Team.
5 * See the file COPYING.
7 * \author Alejandro Aguilar Sierra
8 * \author John Levon, moz@compsoc.man.ac.uk
9 * \author Angus Leeming, a.leeming@ic.ac.uk
12 #ifndef FORM_MATHSDELIM_H
13 #define FORM_MATHSDELIM_H
15 #include <boost/smart_ptr.hpp>
21 #include "FormMathsPanel.h"
23 struct FD_form_maths_delim;
26 * This class provides an XForms implementation of the maths delim.
28 class FormMathsDelim : public FormMathsSub {
31 FormMathsDelim(LyXView *, Dialogs *, FormMathsPanel const &);
37 virtual bool input(FL_OBJECT *, long);
38 /// Apply from dialog (modify or create inset)
41 /// Pointer to the actual instantiation of the xforms form
42 virtual FL_FORM * form() const;
45 FD_form_maths_delim * build_maths_delim();
47 // Real GUI implementation
48 boost::scoped_ptr<FD_form_maths_delim> dialog_;
51 #endif // FORM_MATHSDELIM_H