]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.h
prepare for 1.1.6pre2
[lyx.git] / src / insets / inseturl.h
index e76161e78057e5e8e9222b186301574e74eae5c2..c2a83633797f14d57a2444f035854be43c686e2c 100644 (file)
 #endif
 
 #include "insetcommand.h"
-#include <sigc++/signal_system.h>
 
 struct LaTeXFeatures;
 
-#ifdef SIGC_CXX_NAMESPACES
-using SigC::Signal0;
-#endif
-
 /** The url inset  
  */
 class InsetUrl : public InsetCommand {
@@ -31,21 +26,17 @@ public:
        ///
        explicit
        InsetUrl(InsetCommandParams const &);
-       ///
-       ~InsetUrl();
         ///
-       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; }
        ///
-       char const * EditMessage() const;
-       ///
        void Edit(BufferView *, int, int, unsigned int);
         ///
        bool display() const { return false; }
@@ -53,13 +44,11 @@ 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;
        ///
        int DocBook(Buffer const *, std::ostream &) const;
-       ///
-       Signal0<void> hide;
 };
 
 #endif