diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-10-19 11:50:01 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-10-19 11:50:01 +0000 |
commit | 7e07059d18c1a3a7cfab46ed368c94712e721f89 (patch) | |
tree | 97c8894c3d1ef620f06e809c1f5daabc674eb3c5 /package | |
parent | 2c8d03d361a33f44d5740ad5aa41e9ead0fb01b5 (diff) |
INTEGRATION: CWS cov2src (1.20.4); FILE MERGED
2005/10/18 09:50:27 rt 1.20.4.1: #126234# Join MWS COV680 m4 into SRC680
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/ZipPackageStream.hxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/package/source/zippackage/ZipPackageStream.hxx b/package/source/zippackage/ZipPackageStream.hxx index e2ebc3a7b948..4765ff434272 100644 --- a/package/source/zippackage/ZipPackageStream.hxx +++ b/package/source/zippackage/ZipPackageStream.hxx @@ -4,9 +4,9 @@ * * $RCSfile: ZipPackageStream.hxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: hr $ $Date: 2005-09-23 15:56:24 $ + * last change: $Author: rt $ $Date: 2005-10-19 12:50:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -38,6 +38,10 @@ #ifndef _COM_SUN_STAR_IO_XACTIVEDATASINK_HPP_ #include <com/sun/star/io/XActiveDataSink.hpp> #endif +#ifndef _COM_SUN_STAR_IO_XSEEKABLE_HPP_ +#include <com/sun/star/io/XSeekable.hpp> +#endif + #ifndef _COM_SUN_STAR_PACKAGES_XDATASINKENCRSUPPORT_HPP_ #include <com/sun/star/packages/XDataSinkEncrSupport.hpp> #endif @@ -88,6 +92,10 @@ protected: SotMutexHolderRef m_aSharedMutexRef; + sal_Bool m_bHasSeekable; + + ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& GetOwnSeekStream(); + public: sal_Bool HasOwnKey () { return bHaveOwnKey;} sal_Bool IsToBeCompressed () { return bToBeCompressed;} @@ -136,6 +144,8 @@ public: { xEncryptionData->nIterationCount = nNewCount;} void setSize (const sal_Int32 nNewSize); + ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > GetOwnStreamNoWrap() { return xStream; } + void CloseOwnStreamIfAny(); ZipPackageStream ( ZipPackage & rNewPackage, |