]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.h
rename InsetBase to Inset
[lyx.git] / src / mathed / InsetMathComment.h
index 7bec2fce6b10a938de29a269dc2765eecd0d5083..f084bb52b76acd465fd738956a19d52e645a7bc9 100644 (file)
@@ -15,6 +15,8 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
 class latexkeys;
 
 /// Inset for end-of-line comments
@@ -23,9 +25,9 @@ public:
        ///
        InsetMathComment();
        ///
-       explicit InsetMathComment(std::string const &);
+       explicit InsetMathComment(docstring const &);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) 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 std::auto_ptr<Inset> doClone() const;
 };
+
+} // namespace lyx
+
 #endif