]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.h
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / InsetMathDelim.h
index cbea8ec01c10552af748430f6c6c7ae4e92628a7..5a7e8164049cfb7948559b8dd12587adc149d57a 100644 (file)
@@ -15,8 +15,6 @@
 
 #include "InsetMathNest.h"
 
-#include <string>
-
 
 namespace lyx {
 
@@ -32,6 +30,8 @@ public:
        InsetMathDelim * asDelimInset() { return this; }
        ///
        InsetMathDelim const * asDelimInset() const { return this; }
+       ///
+       MathClass mathClass() const { return MC_INNER; }
        /// is it (...)?
        bool isParenthesis() const;
        /// is it [...]?
@@ -45,6 +45,8 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
 
+       ///
+       void validate(LaTeXFeatures & features) const;
        ///
        void write(WriteStream & os) const;
        /// write normalized content