]> git.lyx.org Git - lyx.git/blob - src/mathed/math_amsarrayinset.h
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_amsarrayinset.h
1 // -*- C++ -*-
2 #ifndef MATH_AMSARRAYINSET_H
3 #define MATH_AMSARRAYINSET_H
4
5 #include "math_gridinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11
12 class MathAMSArrayInset : public MathGridInset {
13 public:
14         ///
15         MathAMSArrayInset(string const & name_, int m, int n);
16         ///
17         MathAMSArrayInset(string const & name_);
18         ///
19         MathInset * clone() const;
20         ///
21         void metrics(MathMetricsInfo const & st) const;
22         ///
23         void draw(Painter & pain, int x, int y) const;
24         ///
25         MathAMSArrayInset * asAMSArrayInset() { return this; }
26
27         ///
28         void write(WriteStream & os) const;
29         ///
30         void normalize(NormalStream &) const;
31         ///
32         void maplize(MapleStream &) const;
33
34 private:
35         ///
36         char const * name_left() const;
37         ///
38         char const * name_right() const;
39
40         ///
41         string name_;
42 };
43
44 #endif