INTEGRATION: CWS sb18 (1.7.4); FILE MERGED

2004/05/14 14:36:42 sb 1.7.4.2: #i21150# Minor fixes.
2004/05/07 08:23:47 sb 1.7.4.1: #i21150# Added support to write binary data to FileStream.
This commit is contained in:
Oliver Bolte 2004-06-04 02:09:10 +00:00
parent 640bd595c5
commit 8eb0472242

View file

@ -2,9 +2,9 @@
*
* $RCSfile: global.hxx,v $
*
* $Revision: 1.7 $
* $Revision: 1.8 $
*
* last change: $Author: rt $ $Date: 2004-03-30 16:50:48 $
* last change: $Author: obo $ $Date: 2004-06-04 03:09:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -113,7 +113,7 @@ enum FileAccessMode
FAM_READ, // "r"
FAM_WRITE, // "w"
FAM_READWRITE_EXIST, // "r+"
FAM_READWRITE, // "w+"
FAM_READWRITE // "w+"
};
class FileStream
@ -131,6 +131,8 @@ public:
::rtl::OString getName() { return m_name; }
bool write(void const * buffer, sal_uInt64 size);
// friend functions
friend FileStream &operator<<(FileStream& o, sal_uInt32 i);
friend FileStream &operator<<(FileStream& o, sal_Char* s);