]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathAMSArray.h
fix reading UTF8 encoded symbol file
[lyx.git] / src / mathed / InsetMathAMSArray.h
index d890aee7a2b4310af886ebdc342be0668eaadc3d..b5f7255b371c81c3e82bd6a681a92e23d63dfcbc 100644 (file)
 #include "InsetMathGrid.h"
 
 
+namespace lyx {
+
 /// Inset for things like [pbvV]matrix, psmatrix etc
 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;
        ///
@@ -37,7 +39,7 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        void normalize(NormalStream &) const;
        ///
@@ -50,7 +52,9 @@ private:
        char const * name_right() const;
 
        ///
-       std::string name_;
+       docstring name_;
 };
 
+} // namespace lyx
+
 #endif