X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetcommand.h;h=e26abaf50e0827a5aa27477f89e763c4c279ee39;hb=5f3f9ad231bc0c24d34c00e3936e226d9834589a;hp=27ceea85dbb6a3e2d3d28df489716bb4b71b40bd;hpb=188833d864794c9c1ec42a8361b93aaa718874ea;p=lyx.git diff --git a/src/insets/insetcommand.h b/src/insets/insetcommand.h index 27ceea85db..e26abaf50e 100644 --- a/src/insets/insetcommand.h +++ b/src/insets/insetcommand.h @@ -33,8 +33,6 @@ public: InsetCommand(string const & name, string const & arg = string(), string const & opt = string()); /// - ~InsetCommand(); - /// int Ascent(LyXFont const & font) const; /// int Descent(LyXFont const & font) const; @@ -43,13 +41,13 @@ public: /// void Draw(LyXFont, LyXScreen & scr, int baseline, float & x); /// - void Write(FILE * file); + void Write(ostream &); /// Parse the command. void scanCommand(string const & cmd); /// Will not be used when lyxf3 void Read(LyXLex & lex); /// - virtual int Latex(FILE * file, signed char fragile); + virtual int Latex(ostream &, signed char fragile); /// virtual int Latex(string & file, signed char fragile); /// @@ -57,7 +55,7 @@ public: /// virtual int DocBook(string & file); /// - Inset * Clone(); + Inset * Clone() const; /// Inset::Code LyxCode() const {