]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_casesinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_casesinset.h
index ca1ce4b43196b0db8381a82d06644cd5ee290c27..3b15ba47d4b64b28dad478ec5a03a437d65b1432 100644 (file)
@@ -4,28 +4,30 @@
 
 #include "math_gridinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
+class LaTeXFeatures;
 
 class MathCasesInset : public MathGridInset {
-public: 
+public:
        ///
        explicit MathCasesInset(row_type rows = 1u);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(Painter & pain, int x, int y) const;
+       void draw(PainterInfo & pain, int x, int y) const;
 
+       ///
+       void infoize(std::ostream & os) const;
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
        ///
        void write(WriteStream & os) const;
+       ///
+       void validate(LaTeXFeatures & features) const;
 };
 
 #endif