]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathDelim.h
index 894eccaff853616ef9395b4049712eedfafa3290..84696316ef08ce0f68654bb95e000e6e99d31202 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, MathData 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;
+       virtual Inset * clone() const;
        ///
        mutable int dw_;
 };
+
+} // namespace lyx
+
 #endif