]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_hullinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_hullinset.h
index 3beaa30e4f0f887b5368a27eb22aff3413cf5a9c..adbdc2dd750f32ed0263d4fee6d7501a75ca94d8 100644 (file)
@@ -20,15 +20,15 @@ public:
        ///
        explicit MathHullInset(string const & type);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        mode_type currentMode() const;
        ///
-       void metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       void metricsT(TextMetricsInfo const & mi) const;
+       void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
        ///
        void drawT(TextPainter &, int x, int y) const;
        ///
@@ -79,6 +79,8 @@ public:
        ///
        bool idxLast(idx_type &, pos_type &) const;
 
+       ///
+       string fileInsetLabel() const;
        ///
        void write(WriteStream & os) const;
        ///