]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsDelim.h
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormMathsDelim.h
index b43748eaf18ba57cd41346ee168fc35ef3126850..7289a2d84147be9da896bf898d1066c581f3c4d0 100644 (file)
@@ -1,26 +1,28 @@
 // -*- C++ -*-
 /**
  * \file FormMathsDelim.h
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author John Levon
+ * \author Angus Leeming 
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORM_MATHSDELIM_H
 #define FORM_MATHSDELIM_H
 
-#include <boost/smart_ptr.hpp>
-
 #ifdef __GNUG__
 #pragma interface
 #endif
 
 #include "FormMathsPanel.h"
 
-struct FD_form_maths_delim;
+#include <boost/scoped_ptr.hpp>
+
+struct FD_maths_delim;
 
 /**
  * This class provides an XForms implementation of the maths delim.
@@ -28,7 +30,7 @@ struct FD_form_maths_delim;
 class FormMathsDelim : public FormMathsSub {
 public:
        ///
-       FormMathsDelim(LyXView *, Dialogs *, FormMathsPanel const &);
+       FormMathsDelim(LyXView &, Dialogs &, FormMathsPanel const &);
 
 private:
        /// Build the dialog
@@ -41,11 +43,8 @@ private:
        /// Pointer to the actual instantiation of the xforms form
        virtual FL_FORM * form() const;
 
-       // build the form
-       FD_form_maths_delim * build_maths_delim();
-
        // Real GUI implementation
-       boost::scoped_ptr<FD_form_maths_delim> dialog_;
+       boost::scoped_ptr<FD_maths_delim> dialog_;
 };
 
 #endif //  FORM_MATHSDELIM_H