class MathMacro : public InsetMathNest {
public:
/// A macro can be built from an existing template
- MathMacro(docstring const & name);
+ MathMacro(Buffer * buf, docstring const & name);
///
virtual MathMacro * asMacro() { return this; }
///
}
/// Return the maximal number of arguments the macro is greedy for.
size_t appetite() const { return appetite_; }
+ ///
+ InsetCode lyxCode() const { return MATH_MACRO_CODE; }
protected:
friend class MathData;