]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_sqrtinset.h
index 57517e49595d74c7ae9c93f104205e6757f37940..b90dae0409b9013d13b4116b340cecf3b0a4c155 100644 (file)
@@ -4,30 +4,37 @@
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** The square root inset.
-    \author Alejandro Aguilar Siearra
+ *  \author Alejandro Aguilar Siearra
+ *
+ * Full author contact details are available in file CREDITS
  */
 class MathSqrtInset : public MathNestInset {
 public:
        ///
        MathSqrtInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
+       ///
+       void draw(PainterInfo &, int x, int y) const;
+       ///
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void drawT(TextPainter &, int x, int y) const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
 
        ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
+       ///
+       void mathematica(MathematicaStream &) const;
+       ///
+       void octave(OctaveStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
 };