]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.h
the fstream/iostream changes and some small other things
[lyx.git] / src / insets / insetcommand.h
index 27ceea85dbb6a3e2d3d28df489716bb4b71b40bd..e26abaf50e0827a5aa27477f89e763c4c279ee39 100644 (file)
@@ -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
        {