]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMath.h
listerrors.lyx : Update a link.
[lyx.git] / src / mathed / InsetMath.h
index e043a733fbc95a4a7e013339ac7129dd3453b4eb..24884ba541ebf0c827ce0524d848aff10a59ee56 100644 (file)
@@ -102,6 +102,8 @@ public:
        InsetMath const * asInsetMath() const { return this; }
        /// this is overridden in math text insets (i.e. mbox)
        bool inMathed() const { return true; }
+       ///
+       virtual docstring name() const;
 
        /// this is overridden by specific insets
        virtual mode_type currentMode() const { return MATH_MODE; }
@@ -216,6 +218,8 @@ public:
        /// superscript kerning
        virtual int kerning(BufferView const *) const { return 0; }
        ///
+       bool isInToc() const { return true; }
+       ///
        InsetCode lyxCode() const { return MATH_CODE; }
 };