]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.h
Fix comment according to Enricos explanation
[lyx.git] / src / mathed / InsetMathDelim.h
index 894eccaff853616ef9395b4049712eedfafa3290..cc34e54980a36fed19c7d6d32f5cb314fee766df 100644 (file)
 #include <string>
 
 
-/// A delimiter
+namespace lyx {
+
+/// A delimiter like '{' or '(' or '<'
 class InsetMathDelim : public InsetMathNest {
 public:
        ///
-       InsetMathDelim(std::string const & left, std::string const & right);
+       InsetMathDelim(docstring const & left, docstring const & right);
        ///
-       InsetMathDelim(std::string const & left, std::string const & right, MathArray const &);
+       InsetMathDelim(docstring const & left, docstring const & right, MathArray const &);
        ///
        InsetMathDelim * asDelimInset() { return this; }
        ///
@@ -53,16 +55,19 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void octave(OctaveStream &) const;
        ///
-       std::string left_;
+       docstring left_;
        ///
-       std::string right_;
+       docstring right_;
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        mutable int dw_;
 };
+
+} // namespace lyx
+
 #endif