]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.h
remove unneeded header.
[lyx.git] / src / mathed / InsetMathExFunc.h
index c0f8301f5851658d130f47166eed872d34035db5..9c03873cb1bcbda5031305233dc67f147215ab99 100644 (file)
 #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;
@@ -41,13 +43,16 @@ public:
        ///
        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