]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExInt.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathExInt.h
index 3f1b821c7219133bd97640be5ae0c281931587fe..e381e0e58822196b6adaf5c303e4e4e1d85cd1d4 100644 (file)
 
 #include "InsetMathNest.h"
 
-#include <string>
-
 
 namespace lyx {
 
-
 // cell(0) is stuff before the 'd', cell(1) the stuff after
 class InsetMathExInt : public InsetMathNest {
 public:
        ///
-       explicit InsetMathExInt(std::string const & name_);
+       explicit InsetMathExInt(docstring const & name_);
        ///
-       void symbol(std::string const &);
+       void symbol(docstring const &);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -45,19 +42,20 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void write(WriteStream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        bool hasScripts() const;
 
        ///
-       std::string symbol_;
+       docstring symbol_;
 };
 
 
 } // namespace lyx
 
+
 #endif