]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPhantom.h
Another warning.
[lyx.git] / src / mathed / InsetMathPhantom.h
index edefb74dff210e710c6ba7be35b6970bf8c77faa..9cce40df23bf3cbaff76f079af7fcab1eb17dc06 100644 (file)
@@ -26,9 +26,9 @@ public:
                hphantom
        };
        ///
-       explicit InsetMathPhantom(Kind);
+       explicit InsetMathPhantom(Buffer * buf, Kind);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -37,9 +37,16 @@ public:
        void normalize(NormalStream & ns) const;
        ///
        void infoize(odocstream & os) const;
+       ///
+       InsetCode lyxCode() const { return MATH_PHANTOM_CODE; }
+       /// Nothing for now
+       void mathmlize(MathStream &) const {}
+       /// Nothing for HTML
+       void htmlize(HtmlStream &) const {}
+
 private:
        ///
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        Kind kind_;
 };