]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathExFunc.h
index 2a12899d11427d9b6c085b331ce4d5c5aa04052e..9f91649f3d83192da07e3b5e59f8190bfc5cb597 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -26,15 +26,15 @@ namespace lyx {
 class InsetMathExFunc : public InsetMathNest {
 public:
        ///
-       explicit InsetMathExFunc(std::string const & name);
+       explicit InsetMathExFunc(docstring const & name);
        ///
-       InsetMathExFunc(std::string const & name, MathArray const & ar);
+       InsetMathExFunc(docstring const & name, MathData const & ar);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       std::string name() const;
+       docstring name() const;
 
        ///
        void maple(MapleStream &) const;
@@ -43,14 +43,14 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void octave(OctaveStream &) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
-       std::string const name_;
+       docstring const name_;
 };
 
 } // namespace lyx