]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathComment.h
index 7bec2fce6b10a938de29a269dc2765eecd0d5083..340d64ee75c1aa9d5ee74fcd5677395ecebd84db 100644 (file)
@@ -15,6 +15,8 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
 class latexkeys;
 
 /// Inset for end-of-line comments
@@ -23,7 +25,7 @@ public:
        ///
        InsetMathComment();
        ///
-       explicit InsetMathComment(std::string const &);
+       explicit InsetMathComment(docstring const &);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -42,10 +44,13 @@ public:
        ///
        void octave(OctaveStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
+
+} // namespace lyx
+
 #endif