]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_funcinset.h
further code uglification to make Jean-Marc's compiler happy
[lyx.git] / src / mathed / math_funcinset.h
index 781d40ccc00219f160c73ac29a501d2fadc2fcf1..3a773df15f1acde56b06431d22918da3549bed2d 100644 (file)
@@ -2,8 +2,9 @@
 #ifndef MATH_FUNCINSET_H
 #define MATH_FUNCINSET_H
 
-#include "math_inset.h"
+#include "math_diminset.h"
 #include "math_defs.h"
+#include "LString.h"
 
 #ifdef __GNUG__
 #pragma interface
 /**
  Functions or LaTeX names for objects that I don't know how to draw.
  */
-class MathFuncInset : public MathInset {
+class MathFuncInset : public MathDimInset {
 public:
        ///
        explicit MathFuncInset(string const & nm);
        ///
-       virtual MathInset * clone() const;
+       MathInset * clone() const;
        ///
-       void draw(Painter &, int, int);
+       void metrics(MathStyles st) const;
+       ///
+       void draw(Painter &, int x, int y) const;
        ///
        void write(std::ostream &, bool fragile) const;
        ///
        void writeNormal(std::ostream &) const;
        ///
-       void metrics(MathStyles st);
+       string const & name() const;
+       ///
+       void setName(string const & n);
+private:
+       ///
+       string name_;
 };
 #endif