#include <string>
+namespace lyx {
+
// f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
// for interfacing external programs
class InsetMathExFunc : public InsetMathNest {
public:
///
- explicit InsetMathExFunc(std::string const & name);
+ explicit InsetMathExFunc(docstring const & name);
///
- InsetMathExFunc(std::string const & name, MathArray const & ar);
+ InsetMathExFunc(docstring const & name, MathData const & ar);
///
- void metrics(MetricsInfo & mi, Dimension & dim) const;
+ bool metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
- std::string name() const;
+ docstring name() const;
///
void maple(MapleStream &) const;
///
void mathematica(MathematicaStream &) const;
///
- void mathmlize(MathMLStream &) const;
+ void mathmlize(MathStream &) const;
///
void octave(OctaveStream &) const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual std::auto_ptr<Inset> doClone() const;
///
- std::string const name_;
+ docstring const name_;
};
+
+} // namespace lyx
+
#endif