]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.h
split inset -> inset + updatableinset
[lyx.git] / src / mathed / math_spaceinset.h
index 84ba58fb8db3a33fe7960b1a7fc3c9759d0d674c..d48ff330d416f68f5d0ed4d86d5fe9e70efac388 100644 (file)
@@ -4,9 +4,6 @@
 
 #include "math_diminset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /// Smart spaces
 class MathSpaceInset : public MathDimInset {
@@ -14,6 +11,8 @@ public:
        ///
        explicit MathSpaceInset(int sp);
        ///
+       explicit MathSpaceInset(string const & name);
+       ///
        MathInset * clone() const;
        ///
        MathSpaceInset const * asSpaceInset() const { return this; }
@@ -22,16 +21,20 @@ public:
        ///
        void incSpace();
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(MathPainterInfo & pi, int x, int y) const;
 
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void validate(LaTeXFeatures & features) const;
+       ///
+       void maple(MapleStream &) const;
+       ///
+       void mathematica(MathematicaStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void octave(OctaveStream &) const;
        ///
        void write(WriteStream & os) const;
 private: