summaryrefslogtreecommitdiff
path: root/package/inc/ZipPackageBuffer.hxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-09-05 18:37:54 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-09-05 18:37:54 +0000
commit316490cfdc19a8b133e2d3e61040d73228db265c (patch)
treec1805dc81532f16c467110168c1dd2682c72766b /package/inc/ZipPackageBuffer.hxx
parent621712f29c46da3e35ec8e80a1118920a43606e7 (diff)
#91797# Add support for XFileStream
Diffstat (limited to 'package/inc/ZipPackageBuffer.hxx')
-rw-r--r--package/inc/ZipPackageBuffer.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/inc/ZipPackageBuffer.hxx b/package/inc/ZipPackageBuffer.hxx
index 71f3b6608b9e..94ad29e8460b 100644
--- a/package/inc/ZipPackageBuffer.hxx
+++ b/package/inc/ZipPackageBuffer.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ZipPackageBuffer.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: mtg $ $Date: 2001-07-04 14:56:14 $
+ * last change: $Author: mtg $ $Date: 2001-09-05 19:37:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -86,7 +86,6 @@ class ZipPackageBuffer : public com::sun::star::io::XInputStream,
public com::sun::star::io::XSeekable,
public cppu::OWeakObject
{
- friend class OutputThread;
protected:
com::sun::star::uno::Sequence < sal_Int8 > m_aBuffer;
sal_Int64 m_nBufferSize, m_nEnd, m_nCurrent;
@@ -95,6 +94,10 @@ public:
ZipPackageBuffer(sal_Int64 nNewBufferSize);
ZipPackageBuffer( com::sun::star::uno::Sequence < sal_Int8 > &nNewBuffer );
virtual ~ZipPackageBuffer(void);
+
+ inline void realloc ( sal_Int32 nSize ) { m_aBuffer.realloc ( nSize ); }
+ inline const sal_Int8 * getConstArray () const { m_aBuffer.getConstArray(); }
+ inline const com::sun::star::uno::Sequence < sal_Int8> & getSequence () const { return m_aBuffer; }
virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type& rType )
throw(com::sun::star::uno::RuntimeException);
virtual void SAL_CALL acquire(void)