]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiff.h
Account for old versions of Pygments
[lyx.git] / src / mathed / InsetMathDiff.h
index 60c4d84711bcb4a5b95cd654d994f278966b36db..063e5214cf73f703a3b20387a2a1f357bdab149b 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 
 #include "InsetMathNest.h"
 
+
+namespace lyx {
+
 class InsetMathDiff : public InsetMathNest {
 public:
        ///
-       InsetMathDiff();
+       InsetMathDiff(Buffer * buf);
        ///
-       void addDer(MathArray const & der);
+       void addDer(MathData const & der);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -36,13 +39,16 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
-       ///
        void maxima(MaximaStream &) const;
        ///
        void write(WriteStream & os) const;
+       ///
+       InsetCode lyxCode() const { return MATH_DIFF_CODE; }
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
 
+
+} // namespace lyx
+
 #endif