]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_unknowninset.h
Fix.
[lyx.git] / src / mathed / math_unknowninset.h
index 1b65a80d53ed4746905b8a4fd0330332f4f096dc..d18ddb3fea46f2979ec9c69f9bc9b99905c4556d 100644 (file)
@@ -4,9 +4,6 @@
 
 #include "math_diminset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /**
  Unknowntions or LaTeX names for objects that we really don't know
@@ -23,7 +20,7 @@ public:
        ///
        void draw(MathPainterInfo & pi, int x, int y) const;
        ///
-       void setName(string const & name) const;
+       void setName(string const & name);
        ///
        string name() const;
        /// identifies UnknownInsets
@@ -31,27 +28,27 @@ public:
        /// identifies UnknownInsets
        MathUnknownInset * asUnknownInset() { return this; }
        ///
-       bool match(MathInset const * p) const;
+       bool match(MathAtom const & at) const;
 
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
        ///
-       void mathematicize(MathematicaStream &) const;
+       void mathematica(MathematicaStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void octave(OctaveStream &) const;
        ///
-       void finalize() const;
+       void finalize();
        ///
        bool final() const;
 private:
        ///
-       mutable string name_;
+       string name_;
        /// are we finished creating the name?
-       mutable bool final_;
+       bool final_;
        ///
        bool black_;
 };