]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBrace.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathBrace.h
index d5c5205a43f2eabb67a2dd48466156b9f0ab28e8..6a90397e6a4c133c7ca33c088289315d98940d0a 100644 (file)
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// Extra nesting
 class InsetMathBrace : public InsetMathNest {
 public:
        ///
        InsetMathBrace();
        ///
-       InsetMathBrace(MathArray const & ar);
-       ///
+       InsetMathBrace(MathData const & ar);
+       /// identifies brace insets
+       InsetMathBrace * asBraceInset() { return this; }
+       /// identifies brace insets
        InsetMathBrace const * asBraceInset() const { return this; }
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
@@ -41,11 +46,14 @@ public:
        ///
        void octave(OctaveStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
 
+
+} // namespace lyx
+
 #endif