]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_amsarrayinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_amsarrayinset.h
index 4792e974a3c19de41c04386696c81ceef08da4f2..8ff70cbdc8b3f19197805e511ee39e2a56d5a31f 100644 (file)
 class MathAMSArrayInset : public MathGridInset {
 public:
        ///
-       MathAMSArrayInset(string const & name, int m, int n);
+       MathAMSArrayInset(std::string const & name, int m, int n);
        ///
-       MathAMSArrayInset(string const & name);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       MathAMSArrayInset(std::string const & name);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -33,19 +31,26 @@ public:
        ///
        MathAMSArrayInset const * asAMSArrayInset() const { return this; }
 
+       ///
+       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+               FuncStatus & flag) const;
        ///
        void write(WriteStream & os) const;
        ///
+       void infoize(std::ostream & os) const;
+       ///
        void normalize(NormalStream &) const;
-
+       ///
+       void validate(LaTeXFeatures & features) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        char const * name_left() const;
        ///
        char const * name_right() const;
 
        ///
-       string name_;
+       std::string name_;
 };
 
 #endif