From 8eb04722422cd2709a3d98a36fbd1dc83754f552 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Fri, 4 Jun 2004 02:09:10 +0000 Subject: [PATCH] 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. --- codemaker/inc/codemaker/global.hxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/codemaker/inc/codemaker/global.hxx b/codemaker/inc/codemaker/global.hxx index 6dca6a90518f..5e0dbfc2e9a2 100644 --- a/codemaker/inc/codemaker/global.hxx +++ b/codemaker/inc/codemaker/global.hxx @@ -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);