]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontinset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_fontinset.h
index fbd838baf34be8059c4d3e9818f0081034767a47..48791027acd28c7d234e4e36d077bc0ffe9838f4 100644 (file)
@@ -4,9 +4,6 @@
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Inset for font changes
  *  \author André Pönitz
@@ -22,6 +19,10 @@ public:
        explicit MathFontInset(latexkeys const * key);
        ///
        MathInset * clone() const;
+       ///
+       MathFontInset * asFontInset() { return this; }
+       ///
+       MathFontInset const * asFontInset() const { return this; }
        /// are we in math mode, text mode, or unsure?
        mode_type currentMode() const;
        ///