]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPhantom.h
Another warning.
[lyx.git] / src / mathed / InsetMathPhantom.h
index dfb7b60f7cf4385fc1e1b3db2a03eafbf990cb64..9cce40df23bf3cbaff76f079af7fcab1eb17dc06 100644 (file)
@@ -26,7 +26,7 @@ public:
                hphantom
        };
        ///
-       explicit InsetMathPhantom(Kind);
+       explicit InsetMathPhantom(Buffer * buf, Kind);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) 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_;
 };