]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fracinset.h
fix #1073
[lyx.git] / src / mathed / math_fracinset.h
index 4f903d7c8b3482635035d262568bce941ab72756..a720ed93a8f48bb9321fa0cd1a0989d39f2f166d 100644 (file)
@@ -4,12 +4,11 @@
 
 #include "math_fracbase.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Fraction like objects (frac, binom)
-    \author Alejandro Aguilar Sierra
+ *  \author Alejandro Aguilar Sierra
+ *
+ * Full author contact details are available in file CREDITS
  */
 class MathFracInset : public MathFracbaseInset {
 public:
@@ -18,24 +17,28 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
        ///
        void metricsT(TextMetricsInfo const & mi) const;
        ///
        void drawT(TextPainter &, int x, int y) const;
-       ///
+       /// identifies FracInsets
        MathFracInset * asFracInset();
+       /// identifies FracInsets
+       MathFracInset const * asFracInset() const;
+       ///
+       string name() const;
 
        ///
        void write(WriteStream & os) const;
        ///
-       void normalize(NormalStream &) const;
+       void maple(MapleStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void mathematica(MathematicaStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void octave(OctaveStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
 public: