]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_funcinset.h
oh well
[lyx.git] / src / mathed / math_funcinset.h
index 4ec3b0c32a58ca8bb89ee59144701be5e78e2124..9a92c96af6890d5474938448bb74617afef653da 100644 (file)
@@ -4,7 +4,6 @@
 
 #include "math_diminset.h"
 #include "math_defs.h"
-#include "LString.h"
 
 #ifdef __GNUG__
 #pragma interface
@@ -24,17 +23,28 @@ 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_;
        ///
-       mutable MathMetricsInfo mi_;
+       mutable LyXFont font_;
 };
 #endif