]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiff.h
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathDiff.h
index 60c4d84711bcb4a5b95cd654d994f278966b36db..8d0785769940fcd0ff5aeda8ee5cd315664d1d45 100644 (file)
 
 #include "InsetMathNest.h"
 
+
+namespace lyx {
+
 class InsetMathDiff : public InsetMathNest {
 public:
        ///
        InsetMathDiff();
        ///
-       void addDer(MathArray const & der);
+       void addDer(MathData const & der);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
 
@@ -36,13 +39,16 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void maxima(MaximaStream &) const;
        ///
        void write(WriteStream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif