X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstream.hh;h=2547900e9e6d664067fc3e67eab9c2a185996492;hb=8a52af2ae812fd16bc8f875099ab53e89bbacd26;hp=96ba397fa621f4d59a0c3a2d7dd212d55bdc591a;hpb=7e72a1e50e94a7f9738d62599de79fe7745f600c;p=lilypond.git diff --git a/lily/include/stream.hh b/lily/include/stream.hh index 96ba397fa6..2547900e9e 100644 --- a/lily/include/stream.hh +++ b/lily/include/stream.hh @@ -1,28 +1,38 @@ -/* -stream.hh -- declare compatibility glue for gcc 3. +/* + This file is part of LilyPond, the GNU music typesetter. -source file of the GNU LilyPond music typesetter + Copyright (C) 2001--2011 Han-Wen Nienhuys -(c) 2001--2004 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - */ + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . +*/ #ifndef STREAM_HH #define STREAM_HH +#include "std-string.hh" + #include #include - -#include "string.hh" +using namespace std; #if __GNUC__ > 2 -std::ostream *open_file_stream (String filename, - std::ios_base::openmode mode=std::ios::out); +ostream *open_file_stream (string file_name, + ios_base::openmode mode = ios::out); #else -std::ostream *open_file_stream (String filename, int mode=ios::out); +ostream *open_file_stream (string file_name, int mode = ios::out); #endif -void close_file_stream (std::ostream *os); - +void close_file_stream (ostream *os); #endif /* STREAM_HH */