]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
introduce namespace lyx::support
[lyx.git] / src / mathed / math_deliminset.h
index 786c48529c116c3c93d29cd12d14528495dd258f..84a3ac14512f335c30d27bacf0c212aac351f103 100644 (file)
@@ -5,9 +5,6 @@
 #include "math_nestinset.h"
 #include "LString.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** A delimiter
  *  \author Alejandro Aguilar Sierra
@@ -22,7 +19,7 @@ public:
        ///
        MathDelimInset(string const & left, string const & right, MathArray const &);
        ///
-       MathInset * clone() const;
+       InsetBase * clone() const;
        ///
        MathDelimInset * asDelimInset() { return this; }
        ///
@@ -34,30 +31,30 @@ public:
        /// is it |...|?
        bool isAbs() const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) 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 &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
        ///
-       void maximize(MaximaStream &) const;
+       void maxima(MaximaStream &) const;
        ///
-       void mathematicize(MathematicaStream &) const;
+       void mathematica(MathematicaStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void octave(OctaveStream &) const;
        ///
        string left_;
        ///
        string right_;
 private:
        ///
-       int dw() const;
+       mutable int dw_;
 };
 #endif