]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_charinset.h
Fix event loop to no longer eat CPU
[lyx.git] / src / mathed / math_charinset.h
index 76a1feab001a61fb5476971bf6ae88a0504ad211..a40f577d472f180a88377d511f93dc53e426bcc3 100644 (file)
@@ -21,8 +21,6 @@ public:
        ///
        explicit MathCharInset(char c);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -39,6 +37,8 @@ public:
        void normalize(NormalStream & ns) const;
        ///
        void octave(OctaveStream & os) const;
+       ///
+       void mathmlize(MathMLStream & ms) const;
        /// identifies Charinsets
        MathCharInset const * asCharInset() const { return this; }
        ///
@@ -47,6 +47,7 @@ public:
        bool isRelOp() const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// the character
        char char_;
        /// cached width