]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_substackinset.h
Fix event loop to no longer eat CPU
[lyx.git] / src / mathed / math_substackinset.h
index 1f4dcdc2095537a638a7a43863ddfc3ebdebe1df..36f6a4209a26b2b824eef0d3280df1919f182942 100644 (file)
@@ -22,8 +22,6 @@ public:
        ///
        MathSubstackInset();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -31,7 +29,8 @@ public:
        MathSubstackInset const * asSubstackInset() const { return this; }
 
        ///
-       void normalize();
+       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+               FuncStatus & flag) const;
        ///
        void infoize(std::ostream & os) const;
        ///
@@ -40,6 +39,10 @@ public:
        void normalize(NormalStream &) const;
        ///
        void maple(MapleStream &) const;
+       ///
+       void validate(LaTeXFeatures & features) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif