]> 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 c60de849fdec6c72fd01da338c5126dfe0af2cf7..81ae62d3705f692a19d5c063a532e9d18b495bf9 100644 (file)
@@ -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,13 +72,13 @@ public:
         ///
         void gotoLabel();
        ///
-       int Latex(ostream &, signed char fragile) const;
+       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;
+       int DocBook(std::ostream &) const;
        ///
        static void CloseUrlCB(FL_OBJECT *, long data);
 private: