#include "MathData.h"
-#include "insets/InsetBase.h"
+#include "insets/Inset.h"
namespace lyx {
class InsetMathSymbol;
class InsetMathUnknown;
-class RefInset;
+class InsetMathRef;
class NormalStream;
class OctaveStream;
class ReplaceData;
-class InsetMath : public InsetBase {
+class InsetMath : public Inset {
public:
/// identification as math inset
InsetMath * asInsetMath() { return this; }
virtual InsetMathSymbol const * asSymbolInset() const { return 0; }
virtual InsetMathUnknown * asUnknownInset() { return 0; }
virtual InsetMathUnknown const * asUnknownInset() const { return 0; }
- virtual RefInset * asRefInset() { return 0; }
+ virtual InsetMathRef * asRefInset() { return 0; }
/// identifies things that can get scripts
virtual bool isScriptable() const { return false; }
/// plain text output in ucs4 encoding
int plaintext(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
/// dump content to stderr for debugging
virtual void dump() const;
virtual HullType getType() const;
/// change type
virtual void mutate(HullType /*newtype*/) {}
- /// usually the latex name
- virtual docstring name() const;
/// math stuff usually isn't allowed in text mode
virtual bool allowedIn(mode_type mode) const { return mode == MATH_MODE; }