]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_funcinset.h
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_funcinset.h
index 4ec3b0c32a58ca8bb89ee59144701be5e78e2124..98786403d30e4c979a8824f054d571c08bccd68a 100644 (file)
@@ -4,7 +4,6 @@
 
 #include "math_diminset.h"
 #include "math_defs.h"
-#include "LString.h"
 
 #ifdef __GNUG__
 #pragma interface
@@ -24,13 +23,24 @@ public:
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(MathWriteInfo & os) const;
+       string const & name() const;
+       /// identifies FuncInsets
+       MathFuncInset * asFuncInset() { return this; }
        ///
-       void writeNormal(std::ostream &) const;
+       void setName(string const &);
        ///
-       string const & name() const;
+       bool match(MathInset * p) const;
+
+       ///
+       void normalize(NormalStream &) const;
+       ///
+       void maplize(MapleStream &) const;
+       ///
+       void mathmlize(MathMLStream &) const;
+       ///
+       void octavize(OctaveStream &) const;
        ///
-       void setName(string const & n);
+       void write(WriteStream &) const;
 private:
        ///
        string name_;