]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_unknowninset.C
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_unknowninset.C
index 5bebcf321d100fcbc884fd074a29a284e55815d6..b562092460f27afb9c8c826862e0bf522a7dc34b 100644 (file)
@@ -1,8 +1,5 @@
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "math_unknowninset.h"
 #include "math_support.h"
@@ -27,15 +24,15 @@ string MathUnknownInset::name() const
 }
 
 
-void MathUnknownInset::setName(string const & name) const
+void MathUnknownInset::setName(string const & name)
 {
        name_ = name;
 }
 
 
-bool MathUnknownInset::match(MathInset const * p) const
+bool MathUnknownInset::match(MathAtom const & at) const
 {
-       MathUnknownInset const * q = p->asUnknownInset();
+       MathUnknownInset const * q = at->asUnknownInset();
        return q && name_ == q->name_;
 }
 
@@ -61,7 +58,7 @@ void MathUnknownInset::draw(MathPainterInfo & pi, int x, int y) const
 }
 
 
-void MathUnknownInset::finalize() const
+void MathUnknownInset::finalize()
 {
        final_ = true;
 }
@@ -73,12 +70,12 @@ bool MathUnknownInset::final() const
 }
 
 
-void MathUnknownInset::maplize(MapleStream & os) const
+void MathUnknownInset::maple(MapleStream & os) const
 {
        os << name_;
 }
 
-void MathUnknownInset::mathematicize(MathematicaStream & os) const
+void MathUnknownInset::mathematica(MathematicaStream & os) const
 {
        os << name_;
 }
@@ -90,7 +87,7 @@ void MathUnknownInset::mathmlize(MathMLStream & os) const
 }
 
 
-void MathUnknownInset::octavize(OctaveStream & os) const
+void MathUnknownInset::octave(OctaveStream & os) const
 {
        os << name_;
 }