]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_funcinset.h
use stream-like syntax for LaTeX output
[lyx.git] / src / mathed / math_funcinset.h
index 70c0ce61e65abdedf6e537ddb3d6645e4be0cb91..b81cc60907468ae46a26e8324ced5b6046276a33 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "math_diminset.h"
 #include "math_defs.h"
+#include "LString.h"
 
 #ifdef __GNUG__
 #pragma interface
@@ -19,12 +20,19 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void MathFuncInset::metrics(MathStyles st);
+       void metrics(MathMetricsInfo const & st) const;
        ///
-       void draw(Painter &, int, int);
+       void draw(Painter &, int x, int y) const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void write(MathWriteInfo & os) const;
        ///
        void writeNormal(std::ostream &) const;
+       ///
+       string const & name() const;
+       ///
+       void setName(string const & n);
+private:
+       ///
+       string name_;
 };
 #endif