X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finseturl.h;h=81ae62d3705f692a19d5c063a532e9d18b495bf9;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=f0580239ff171b39e39e53c4c7410a95adcb4578;hpb=def72111a5ac739cf8c5377a67adeee64c37e1ab;p=lyx.git diff --git a/src/insets/inseturl.h b/src/insets/inseturl.h index f0580239ff..81ae62d370 100644 --- a/src/insets/inseturl.h +++ b/src/insets/inseturl.h @@ -38,8 +38,10 @@ public: flag = InsetUrl::URL; } /// + explicit InsetUrl(string const &); /// + explicit InsetUrl(InsetCommand const &); /// InsetUrl(string const &, string const &, string const &); @@ -54,11 +56,11 @@ public: /// void Edit(BufferView *, int, int, unsigned int); /// - unsigned char Editable() const { - return 1; + EDITABLE Editable() const { + return IS_EDITABLE; } /// - const char * EditMessage() const {return _("Opened Url");} + char const * EditMessage() const; /// bool display() const { return false; } /// @@ -70,20 +72,13 @@ public: /// void gotoLabel(); /// - int Latex(ostream &, signed char fragile) const; -#ifndef USE_OSTREAM_ONLY + int Latex(std::ostream &, bool fragile, bool free_spc) const; /// - int Latex(string & file, signed char fragile) const; + int Ascii(std::ostream &) const; /// - int Linuxdoc(string & file) const; + int Linuxdoc(std::ostream &) const; /// - int DocBook(string & file) const; -#else - /// - int Linuxdoc(ostream &) const; - /// - int DocBook(ostream &) const; -#endif + int DocBook(std::ostream &) const; /// static void CloseUrlCB(FL_OBJECT *, long data); private: