X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetcommand.h;h=449d0f19ed2e01e35decdb75918c5829dbd68df3;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=9bb25a235e228d45aa5fd903aac5a3a9d84d7d18;hpb=85798535a19919e82cc94a177a8414c542a9c5bf;p=lyx.git diff --git a/src/insets/insetcommand.h b/src/insets/insetcommand.h index 9bb25a235e..449d0f19ed 100644 --- a/src/insets/insetcommand.h +++ b/src/insets/insetcommand.h @@ -19,8 +19,6 @@ #include "lyxinset.h" #include "LString.h" -using std::ostream; - // Created by Alejandro 970222 /** Used to insert a LaTeX command automatically * @@ -32,6 +30,7 @@ public: /// InsetCommand(); /// + explicit InsetCommand(string const & name, string const & arg = string(), string const & opt = string()); /// @@ -43,17 +42,20 @@ public: /// void draw(Painter &, LyXFont const &, int baseline, float & x) const; /// - void Write(ostream &) const; + void Write(std::ostream &) const; /// Parse the command. void scanCommand(string const & cmd); /// Will not be used when lyxf3 void Read(LyXLex & lex); /// - virtual int Latex(ostream &, signed char fragile, bool free_spc) const; + virtual int Latex(std::ostream &, + bool fragile, bool free_spc) const; + /// + int Ascii(std::ostream &) const; /// - virtual int Linuxdoc(ostream &) const; + virtual int Linuxdoc(std::ostream &) const; /// - virtual int DocBook(ostream &) const; + virtual int DocBook(std::ostream &) const; /// Inset * Clone() const; ///