X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPhantom.h;h=3b5c6067da423a05d3ff42b3bacfb0364e1fbfed;hb=98fb638d61d38df1443339de4e8ba58c7c81784a;hp=09d352deac5bb58dab661d2dca27855a0242529f;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathPhantom.h b/src/mathed/InsetMathPhantom.h index 09d352deac..3b5c6067da 100644 --- a/src/mathed/InsetMathPhantom.h +++ b/src/mathed/InsetMathPhantom.h @@ -14,6 +14,9 @@ #include "InsetMathNest.h" + +namespace lyx { + class InsetMathPhantom : public InsetMathNest { public: /// @@ -25,7 +28,7 @@ public: /// explicit InsetMathPhantom(Kind); /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -33,12 +36,15 @@ public: /// write normalized content void normalize(NormalStream & ns) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; private: /// - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; /// Kind kind_; }; + + +} // namespace lyx #endif