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:
parent
640bd595c5
commit
8eb0472242
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue