]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_braceinset.h
fix #1073
[lyx.git] / src / mathed / math_braceinset.h
index ebfecb6c729325c1ca588197cfe8542e606fef51..7ba25f3d6af41405ad2547716502e44e7900f964 100644 (file)
@@ -4,12 +4,11 @@
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Extra nesting
-    \author André Pönitz
+ *  \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
 */
 
 class MathBraceInset : public MathNestInset {
@@ -17,17 +16,27 @@ public:
        ///
        MathBraceInset();
        ///
+       MathBraceInset(MathArray const & ar);
+       ///
        MathInset * clone() const;
+       /// we write extra braces in any case...
+       bool extraBraces() const { return true; }
        ///
-       MathBraceInset * asBraceInset() { return this; }
+       void metrics(MetricsInfo & mi) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
        ///
        void write(WriteStream & os) const;
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void maple(MapleStream &) const;
+       ///
+       void mathematica(MathematicaStream &) const;
+       ///
+       void octave(OctaveStream &) const;
+       ///
+       void mathmlize(MathMLStream &) const;
        ///
        void infoize(std::ostream & os) const;