X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetinfo.h;h=2e4267a8880f91efc0c68dad0fe99b895c44ab25;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=2aefc000f7f6cdd5abace72aa0e1141a576ac8c3;hpb=85798535a19919e82cc94a177a8414c542a9c5bf;p=lyx.git diff --git a/src/insets/insetinfo.h b/src/insets/insetinfo.h index 2aefc000f7..2e4267a888 100644 --- a/src/insets/insetinfo.h +++ b/src/insets/insetinfo.h @@ -20,8 +20,6 @@ #include FORMS_H_LOCATION #include "LString.h" -using std::ostream; - /** Info. Handles the note insets. This class handles the note insets. The edit operation bringes up @@ -35,6 +33,7 @@ public: /// InsetInfo(); /// + explicit InsetInfo(string const & string); /// ~InsetInfo(); @@ -47,17 +46,19 @@ public: /// void draw(Painter &, LyXFont const &, 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; /// what appears in the minibuffer when opening - const char * EditMessage() const {return _("Opened note");} + char const * EditMessage() const; /// void Edit(BufferView *, int, int, unsigned int); ///