]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.h
prepare for 1.1.6pre2
[lyx.git] / src / insets / inseturl.h
index 6170b545df86cb3ea154a205ea9b24f408713d83..c2a83633797f14d57a2444f035854be43c686e2c 100644 (file)
 #endif
 
 #include "insetcommand.h"
-#include "support/utility.hpp"
 
 struct LaTeXFeatures;
 
 /** The url inset  
  */
-class InsetUrl : public InsetCommand, public noncopyable {
+class InsetUrl : public InsetCommand {
 public:
        ///
        explicit
        InsetUrl(InsetCommandParams const &);
         ///
-       Inset * Clone() const { return new InsetUrl(params()); }
+       Inset * Clone(Buffer const &) const { return new InsetUrl(params()); }
        ///
        Inset::Code LyxCode() const { return Inset::URL_CODE; }
        ///
        void Validate(LaTeXFeatures &) const;
        ///
-       string getScreenLabel() const;
+       string const getScreenLabel() const;
        ///
        EDITABLE Editable() const { return IS_EDITABLE; }
        ///
@@ -45,7 +44,7 @@ public:
        int Latex(Buffer const *, std::ostream &,
                  bool fragile, bool free_spc) const;
        ///
-       int Ascii(Buffer const *, std::ostream &) const;
+       int Ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
        int Linuxdoc(Buffer const *, std::ostream &) const;
        ///