]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_metricsinfo.h
Fix reading of math macros
[lyx.git] / src / mathed / math_metricsinfo.h
index bd8a46d15be1a9db2f4e22cb820f491b0a839151..4f52237fd9de10fd7c0afd0f7dbff74e003d7448 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef MATH_METRICSINFO_H
 #define MATH_METRICSINFO_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "lyxfont.h"
 #include "LString.h"
 
@@ -65,7 +69,8 @@ struct TextMetricsInfo {};
 
 
 // Generic base for temporarily changing things.
-// The original state gets restored when the Changer is destructed
+// The original state gets restored when the Changer is destructed.
+
 template <class Struct, class Temp = Struct>
 struct MathChanger {
        ///
@@ -115,6 +120,13 @@ struct MathFracChanger : public MathStyleChanger {
 };
 
 
+struct MathArrayChanger : public MathStyleChanger {
+       ///
+       MathArrayChanger(MathMetricsBase & mb);
+};
+
+
+
 struct MathShapeChanger : public MathChanger<LyXFont, LyXFont::FONT_SHAPE> {
        ///
        MathShapeChanger(LyXFont & font, LyXFont::FONT_SHAPE shape);