2 * \file FormMathsDelim.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_MATHSDELIM_H
12 #define FORM_MATHSDELIM_H
14 #include <boost/smart_ptr.hpp>
20 #include "FormMathsPanel.h"
22 struct FD_form_maths_delim;
25 * This class provides an XForms implementation of the maths delim.
27 class FormMathsDelim : public FormMathsSub {
30 FormMathsDelim(LyXView *, Dialogs *, FormMathsPanel const &);
36 virtual bool input(FL_OBJECT *, long);
37 /// Apply from dialog (modify or create inset)
40 /// Pointer to the actual instantiation of the xforms form
41 virtual FL_FORM * form() const;
44 FD_form_maths_delim * build_maths_delim();
46 // Real GUI implementation
47 boost::scoped_ptr<FD_form_maths_delim> dialog_;
50 #endif // FORM_MATHSDELIM_H