]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / inseturl.h
index be6eb4c0eb51fd12510f7f2e51cc14424beac96a..81ae62d3705f692a19d5c063a532e9d18b495bf9 100644 (file)
@@ -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: