]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPhantom.h
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathPhantom.h
index 09d352deac5bb58dab661d2dca27855a0242529f..3b5c6067da423a05d3ff42b3bacfb0364e1fbfed 100644 (file)
@@ -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<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        Kind kind_;
 };
 
+
+
+} // namespace lyx
 #endif