#include "math_diminset.h"
-#ifdef __GNUG__
-#pragma interface
-#endif
-
/**
Unknowntions or LaTeX names for objects that we really don't know
*/
explicit MathUnknownInset(string const & name,
bool final = true, bool black = false);
///
- MathInset * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
- void metrics(MathMetricsInfo & mi) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
- void draw(MathPainterInfo & pi, int x, int y) const;
+ void draw(PainterInfo & pi, int x, int y) const;
///
- void setName(string const & name) const;
+ void setName(string const & name);
///
string name() const;
/// identifies UnknownInsets
/// identifies UnknownInsets
MathUnknownInset * asUnknownInset() { return this; }
///
- bool match(MathInset const * p) const;
+ bool match(MathAtom const & at) const;
///
void normalize(NormalStream &) const;
///
- void maplize(MapleStream &) const;
+ void maple(MapleStream &) const;
///
- void mathematicize(MathematicaStream &) const;
+ void mathematica(MathematicaStream &) const;
///
void mathmlize(MathMLStream &) const;
///
- void octavize(OctaveStream &) const;
+ void octave(OctaveStream &) const;
///
- void finalize() const;
+ void finalize();
///
bool final() const;
private:
///
- mutable string name_;
+ string name_;
/// are we finished creating the name?
- mutable bool final_;
+ bool final_;
///
bool black_;
};