From: Christian P. <cp...@us...> - 2004-12-30 19:37:13
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28635/include/pclasses/System Modified Files: Pipe.h File.h Log Message: Renamed IODevice::commit() to sync(). Added File::resize(). Index: Pipe.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/Pipe.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Pipe.h 30 Dec 2004 19:01:37 -0000 1.4 +++ Pipe.h 30 Dec 2004 19:36:48 -0000 1.5 @@ -45,7 +45,7 @@ size_t write(const char* buffer, size_t count) throw(IO::IOError); - void commit() const throw(IO::IOError); + void sync() const throw(IO::IOError); Pipe& operator=(const Pipe& f) throw(IO::IOError); Index: File.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/File.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- File.h 30 Dec 2004 17:06:59 -0000 1.5 +++ File.h 30 Dec 2004 19:36:48 -0000 1.6 @@ -95,13 +95,15 @@ @fixme: Same as conventional sync() functions??? */ - void commit() const throw(IO::IOError); + void sync() const throw(IO::IOError); /** Returns the size of this File on disk. */ offset_t size() const throw(IO::IOError); + void resize(size_t sz) throw(IO::IOError); + /** Copies f. |