2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1997-2000 The LyX Team.
9 * ====================================================== */
18 #include "insetcommand.h"
19 #include <sigc++/signal_system.h>
23 #ifdef SIGC_CXX_NAMESPACES
29 class InsetUrl : public InsetCommand {
33 InsetUrl(InsetCommandParams const &);
37 Inset * Clone() const { return new InsetUrl(params()); }
39 Inset::Code LyxCode() const { return Inset::URL_CODE; }
41 void Validate(LaTeXFeatures &) const;
43 string getScreenLabel() const;
45 EDITABLE Editable() const { return IS_EDITABLE; }
47 char const * EditMessage() const;
49 void Edit(BufferView *, int, int, unsigned int);
51 bool display() const { return false; }
53 int Latex(Buffer const *, std::ostream &,
54 bool fragile, bool free_spc) const;
56 int Ascii(Buffer const *, std::ostream &) const;
58 int Linuxdoc(Buffer const *, std::ostream &) const;
60 int DocBook(Buffer const *, std::ostream &) const;