]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / inseturl.h
index 24f55a846c85cf26878cb2bb922af681aae3a45c..6536be76e06c064f67165d1a0d598625bc2a493f 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "insetcommand.h"
 
-struct LaTeXFeatures;
+class LaTeXFeatures;
 
 /** The url inset
  */
@@ -25,7 +25,7 @@ public:
        explicit
        InsetUrl(InsetCommandParams const &);
        ///
-       InsetOld::Code lyxCode() const { return InsetOld::URL_CODE; }
+       InsetBase::Code lyxCode() const { return InsetBase::URL_CODE; }
        ///
        void validate(LaTeXFeatures &) const;
        ///
@@ -46,6 +46,9 @@ public:
        ///
        int docbook(Buffer const &, std::ostream &,
                    OutputParams const &) const;
+       /// the string that is passed to the TOC
+       virtual int textString(Buffer const &, std::ostream & os,
+               OutputParams const &) const;
 private:
        virtual std::auto_ptr<InsetBase> doClone() const {
                return std::auto_ptr<InsetBase>(new InsetUrl(params()));