]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsPanel.h
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormMathsPanel.h
index db1af2827f432ff173582c40475b2df736a14298..617922f31eb54a3e49025aecad1d0f9f12aecbab 100644 (file)
@@ -1,12 +1,14 @@
 // -*- C++ -*-
 /**
  * \file FormMathsPanel.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_MATHSPANEL_H
@@ -18,8 +20,8 @@
 #pragma interface
 #endif
 
+#include "MathsCallbacks.h"
 #include "FormBaseDeprecated.h"
-#include "MathsSymbols.h"
 
 #include <boost/scoped_ptr.hpp>
 
@@ -37,15 +39,14 @@ struct FD_maths_panel;
  */
 class FormMathsPanel : public FormBaseBD {
 public:
-       friend void gui_ShowMathPanel(LyXView &, Dialogs &);
        ///
-       FormMathsPanel(LyXView *, Dialogs *);
+       FormMathsPanel(LyXView &, Dialogs &);
        ///
        void setActive(FormMathsSub *) const;
-       /// dispatch a symbol insert
-       void insertSymbol(string const & sym, bool bs = true) const;
        /// dispatch an LFUN:
        void dispatchFunc(kb_action action) const;
+       /// dispatch a symbol insert
+       void insertSymbol(string const & sym, bool bs = true) const;
 private:
        /// Pointer to the actual instantiation of the ButtonController.
        virtual xformsBC & bc();
@@ -96,7 +97,7 @@ class FormMathsSub : public FormBaseBD {
 
 public:
        ///
-       FormMathsSub(LyXView *, Dialogs *, FormMathsPanel const &,
+       FormMathsSub(LyXView &, Dialogs &, FormMathsPanel const &,
                     string const &, bool allowResize = true);
 
 protected: