#define MATH_MACROTEMPLATE_H
#include "math_nestinset.h"
+#include "LString.h"
#ifdef __GNUG__
#pragma interface
///
MathInset * clone() const;
///
- void write(std::ostream &, bool fragile) const;
+ void write(WriteStream & os) const;
/// Number of arguments
int numargs() const;
///
void numargs(int);
///
+ string const & name() const;
+ ///
void draw(Painter &, int x, int y) const;
///
- void metrics(MathStyles st) const;
+ void metrics(MathMetricsInfo const & st) const;
+ /// identifies macro templates
+ MathMacroTemplate * asMacroTemplate() { return this; }
private:
///
int numargs_;
+ ///
+ string name_;
};
#endif