]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnsureMath.h
Remove hardcoded values
[lyx.git] / src / mathed / InsetMathEnsureMath.h
index 0acc7a5fdb1cee9f50ae63062fb9a5089f152c38..41c3ad654ab74f5f392abd167594eb779a5c16d7 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
  * \author Enrico Forestieri
  *
  * Full author contact details are available in file CREDITS.
@@ -22,7 +22,7 @@ namespace lyx {
 /// Inset for ensuring math mode
 class InsetMathEnsureMath : public InsetMathNest {
 public:
-       InsetMathEnsureMath();
+       InsetMathEnsureMath(Buffer * buf);
        ///
        mode_type currentMode() const { return MATH_MODE; }
        ///
@@ -36,7 +36,15 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
+       void mathmlize(MathStream &) const;
+       ///
+       void htmlize(HtmlStream &) const;
+       ///
        void infoize(odocstream & os) const;
+       ///
+       void validate(LaTeXFeatures & features) const;
+       ///
+       InsetCode lyxCode() const { return MATH_ENSUREMATH_CODE; }
 private:
        virtual Inset * clone() const;
 };