X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathAMSArray.h;h=2b5491fe37e7b2da5bf05d586f6a9ed6a827123c;hb=11a6b3c4c7a031fd3776f53c9c43f62116933cea;hp=4b885f9e39fade8abc824431451ca043568cfaf0;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathAMSArray.h b/src/mathed/InsetMathAMSArray.h index 4b885f9e39..2b5491fe37 100644 --- a/src/mathed/InsetMathAMSArray.h +++ b/src/mathed/InsetMathAMSArray.h @@ -21,12 +21,14 @@ namespace lyx { class InsetMathAMSArray : public InsetMathGrid { public: /// - InsetMathAMSArray(std::string const & name, int m, int n); + InsetMathAMSArray(docstring const & name, int m, int n); /// - InsetMathAMSArray(std::string const & name); + InsetMathAMSArray(docstring const & name); /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// + Dimension const dimension(BufferView const &) const; + /// void draw(PainterInfo & pain, int x, int y) const; /// InsetMathAMSArray * asAMSArrayInset() { return this; } @@ -34,25 +36,25 @@ public: InsetMathAMSArray const * asAMSArrayInset() const { return this; } /// - bool getStatus(LCursor & cur, FuncRequest const & cmd, + bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus & flag) const; /// void write(WriteStream & os) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; /// void normalize(NormalStream &) const; /// void validate(LaTeXFeatures & features) const; private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; /// char const * name_left() const; /// char const * name_right() const; /// - std::string name_; + docstring name_; }; } // namespace lyx