summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-05-08 13:02:21 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-05-08 13:02:21 +0000
commitb6eb650d3de6af4ad47634abd6b7411ee51e0e44 (patch)
tree1246e4f61727709bca6e2c812d0123f2344761d7 /package
parentc5dbb2c73bd7827526c3a0d28e4e94f353dfb5cd (diff)
Clean up inline methods
Diffstat (limited to 'package')
-rw-r--r--package/source/zippackage/ZipPackageStream.hxx25
1 files changed, 16 insertions, 9 deletions
diff --git a/package/source/zippackage/ZipPackageStream.hxx b/package/source/zippackage/ZipPackageStream.hxx
index 75524abfee30..30b9d1aa06bb 100644
--- a/package/source/zippackage/ZipPackageStream.hxx
+++ b/package/source/zippackage/ZipPackageStream.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ZipPackageStream.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: mtg $ $Date: 2001-04-27 14:56:07 $
+ * last change: $Author: mtg $ $Date: 2001-05-08 14:02:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -94,25 +94,32 @@ public:
inline sal_Bool IsToBeCompressed () { return bToBeCompressed;}
inline sal_Bool IsToBeEncrypted () { return bToBeEncrypted;}
inline sal_Bool IsPackageMember () { return bPackageMember;}
- const com::sun::star::uno::Sequence < sal_Int8 >& getEncryptionKey ();
const vos::ORef < EncryptionData > & getEncryptionData ()
{ return xEncryptionData;}
- const com::sun::star::uno::Sequence < sal_Int8 >& getInitialisationVector ()
+ const com::sun::star::uno::Sequence < sal_Int8 >& getKey ()
+ { return xEncryptionData->aKey;}
+ const com::sun::star::uno::Sequence < sal_uInt8 >& getInitialisationVector ()
{ return xEncryptionData->aInitVector;}
- const com::sun::star::uno::Sequence < sal_Int8 >& getSalt ()
+ const com::sun::star::uno::Sequence < sal_uInt8 >& getSalt ()
{ return xEncryptionData->aSalt;}
- const sal_Int64 getIterationCount ()
+ const sal_Int32 getIterationCount ()
{ return xEncryptionData->nIterationCount;}
+ const sal_Int32 getSize ()
+ { return aEntry.nSize;}
inline void SetToBeCompressed (sal_Bool bNewValue) { bToBeCompressed = bNewValue;}
inline void SetToBeEncrypted (sal_Bool bNewValue) { bToBeEncrypted = bNewValue;}
inline void SetPackageMember (sal_Bool bNewValue) { bPackageMember = bNewValue;}
- inline void setInitialisationVector (const com::sun::star::uno::Sequence < sal_Int8 >& rNewVector )
+ inline void setKey (const com::sun::star::uno::Sequence < sal_Int8 >& rNewKey )
+ { xEncryptionData->aKey = rNewKey;}
+ inline void setInitialisationVector (const com::sun::star::uno::Sequence < sal_uInt8 >& rNewVector )
{ xEncryptionData->aInitVector = rNewVector;}
- inline void setSalt (const com::sun::star::uno::Sequence < sal_Int8 >& rNewSalt )
+ inline void setSalt (const com::sun::star::uno::Sequence < sal_uInt8 >& rNewSalt )
{ xEncryptionData->aSalt = rNewSalt;}
- inline void setIterationCount (const sal_Int64 nNewCount)
+ inline void setIterationCount (const sal_Int32 nNewCount)
{ xEncryptionData->nIterationCount = nNewCount;}
+ inline void setSize (const sal_Int32 nNewSize)
+ { aEntry.nSize = nNewSize;}
ZipPackageStream (ZipPackage & rNewPackage);
virtual ~ZipPackageStream( void );