]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_casesinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_casesinset.h
index ebd27bf31b8162180a92fe532647bed0160e3e0f..3b15ba47d4b64b28dad478ec5a03a437d65b1432 100644 (file)
@@ -5,17 +5,18 @@
 #include "math_gridinset.h"
 
 
+class LaTeXFeatures;
 
 class MathCasesInset : public MathGridInset {
 public:
        ///
        explicit MathCasesInset(row_type rows = 1u);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(MathPainterInfo & pain, int x, int y) const;
+       void draw(PainterInfo & pain, int x, int y) const;
 
        ///
        void infoize(std::ostream & os) const;
@@ -25,6 +26,8 @@ public:
        void maple(MapleStream &) const;
        ///
        void write(WriteStream & os) const;
+       ///
+       void validate(LaTeXFeatures & features) const;
 };
 
 #endif