X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finseturl.h;h=81ae62d3705f692a19d5c063a532e9d18b495bf9;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=be6eb4c0eb51fd12510f7f2e51cc14424beac96a;hpb=85798535a19919e82cc94a177a8414c542a9c5bf;p=lyx.git diff --git a/src/insets/inseturl.h b/src/insets/inseturl.h index be6eb4c0eb..81ae62d370 100644 --- a/src/insets/inseturl.h +++ b/src/insets/inseturl.h @@ -19,8 +19,6 @@ #include "buffer.h" #include "form_url.h" -using std::ostream; - struct LaTeXFeatures; /** The url inset @@ -40,8 +38,10 @@ public: flag = InsetUrl::URL; } /// + explicit InsetUrl(string const &); /// + explicit InsetUrl(InsetCommand const &); /// InsetUrl(string const &, string const &, string const &); @@ -60,7 +60,7 @@ public: return IS_EDITABLE; } /// - const char * EditMessage() const {return _("Opened Url");} + char const * EditMessage() const; /// bool display() const { return false; } /// @@ -72,11 +72,13 @@ public: /// void gotoLabel(); /// - int Latex(ostream &, signed char fragile, bool free_spc) const; + int Latex(std::ostream &, bool fragile, bool free_spc) const; + /// + int Ascii(std::ostream &) const; /// - int Linuxdoc(ostream &) const; + int Linuxdoc(std::ostream &) const; /// - int DocBook(ostream &) const; + int DocBook(std::ostream &) const; /// static void CloseUrlCB(FL_OBJECT *, long data); private: