X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finseterror.h;h=519da5fe93dff0ddeeac40001ac9138aee86016f;hb=c6150425e56563ab9bb311b5785efc5e9d4928da;hp=9719d6859fcfacfa03d90ea11504718b0647f75e;hpb=85798535a19919e82cc94a177a8414c542a9c5bf;p=lyx.git diff --git a/src/insets/inseterror.h b/src/insets/inseterror.h index 9719d6859f..519da5fe93 100644 --- a/src/insets/inseterror.h +++ b/src/insets/inseterror.h @@ -21,8 +21,6 @@ #include "LString.h" #include "gettext.h" -using std::ostream; - /** Used for error messages from LaTeX runs. The edit-operation opens a @@ -31,6 +29,7 @@ using std::ostream; class InsetError: public Inset { public: /// + explicit InsetError(string const & string); /// InsetError(); @@ -45,19 +44,21 @@ public: /// void draw(Painter &, LyXFont const & font, int baseline, float & x) const; /// - void Write(ostream &) const; + void Write(std::ostream &) const; /// void Read(LyXLex & lex); /// - 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; /// bool AutoDelete() const; /// what appears in the minibuffer when opening - const char * EditMessage() const {return _("Opened error");} + char const * EditMessage() const; /// void Edit(BufferView *, int x, int y, unsigned int button); ///