]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbib.h
the fstream/iostream changes and some small other things
[lyx.git] / src / insets / insetbib.h
index 4c5fc0157c465b8c0d31dd6bd1e7ac00d287dc78..d32eb34808f9d060db5cfc26555f175cb9c83bd5 100644 (file)
 class InsetCitation: public InsetCommand {
 public:
        ///
-       InsetCitation(): InsetCommand("cite") {}
+       InsetCitation() : InsetCommand("cite") {}
        ///
        InsetCitation(string const & key, string const & note = string());
         ///
        ~InsetCitation();
         ///
-        InsetCitation * Clone() const {
+        Inset * Clone() const {
                return new InsetCitation(contents, options);
        }
        ///
@@ -62,9 +62,9 @@ public:
        ///
        ~InsetBibKey();
        ///
-        InsetBibKey * Clone() const { return new InsetBibKey(this); }
+        Inset * Clone() const { return new InsetBibKey(this); }
        /// Currently \bibitem is used as a LyX2.x command, so we need this method.
-        void Write(FILE *);
+        void Write(ostream &);
        ///
        virtual string getScreenLabel() const;
         ///
@@ -93,12 +93,12 @@ public:
 class InsetBibtex: public InsetCommand {
 public:
        /// 
-       InsetBibtex(): InsetCommand("BibTeX") { owner = 0; }
+       InsetBibtex() : InsetCommand("BibTeX") { owner = 0; }
        ///
        InsetBibtex(string const & dbase, string const & style,
                    Buffer *);
         ///
-       InsetBibtex * Clone() const {
+       Inset * Clone() const {
                return new InsetBibtex(contents, options, 0);
        }
        ///  
@@ -111,7 +111,7 @@ public:
        ///
        void Edit(int, int);
        /// 
-       int Latex(FILE *, signed char);
+       int Latex(ostream &, signed char);
        ///
        int Latex(string & file, signed char fragile);
        ///