Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
0e56df30
Kaydet (Commit)
0e56df30
authored
Mar 29, 2011
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Namespace ZipUtils for the Inflater / Deflater classes.
üst
dfb4b897
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
11 deletions
+21
-11
Deflater.hxx
package/inc/Deflater.hxx
+7
-4
Inflater.hxx
package/inc/Inflater.hxx
+8
-4
ZipFile.hxx
package/inc/ZipFile.hxx
+1
-1
ZipOutputStream.hxx
package/inc/ZipOutputStream.hxx
+1
-1
Deflater.cxx
package/source/zipapi/Deflater.cxx
+1
-0
Inflater.cxx
package/source/zipapi/Inflater.cxx
+1
-0
XUnbufferedStream.hxx
package/source/zipapi/XUnbufferedStream.hxx
+1
-1
ZipFile.cxx
package/source/zipapi/ZipFile.cxx
+1
-0
No files found.
package/inc/Deflater.hxx
Dosyayı görüntüle @
0e56df30
...
@@ -31,13 +31,14 @@
...
@@ -31,13 +31,14 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include "packagedllapi.hxx"
#include "packagedllapi.hxx"
extern
"C"
struct
z_stream_s
;
{
typedef
struct
z_stream_s
z_stream
;
namespace
ZipUtils
{
}
class
DLLPUBLIC_PACKAGE
Deflater
class
DLLPUBLIC_PACKAGE
Deflater
{
{
typedef
struct
z_stream_s
z_stream
;
protected
:
protected
:
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
sInBuffer
;
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
sInBuffer
;
sal_Bool
bFinish
;
sal_Bool
bFinish
;
...
@@ -65,6 +66,8 @@ public:
...
@@ -65,6 +66,8 @@ public:
void
SAL_CALL
end
(
);
void
SAL_CALL
end
(
);
};
};
}
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
package/inc/Inflater.hxx
Dosyayı görüntüle @
0e56df30
...
@@ -31,12 +31,14 @@
...
@@ -31,12 +31,14 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include "packagedllapi.hxx"
#include "packagedllapi.hxx"
extern
"C"
struct
z_stream_s
;
{
typedef
struct
z_stream_s
z_stream
;
namespace
ZipUtils
{
}
class
DLLPUBLIC_PACKAGE
Inflater
class
DLLPUBLIC_PACKAGE
Inflater
{
{
typedef
struct
z_stream_s
z_stream
;
protected
:
protected
:
sal_Bool
bFinish
,
bFinished
,
bSetParams
,
bNeedDict
;
sal_Bool
bFinish
,
bFinished
,
bSetParams
,
bNeedDict
;
sal_Int32
nOffset
,
nLength
,
nLastInflateError
;
sal_Int32
nOffset
,
nLength
,
nLastInflateError
;
...
@@ -56,6 +58,8 @@ public:
...
@@ -56,6 +58,8 @@ public:
sal_Int32
getLastInflateError
()
{
return
nLastInflateError
;
}
sal_Int32
getLastInflateError
()
{
return
nLastInflateError
;
}
};
};
}
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
package/inc/ZipFile.hxx
Dosyayı görüntüle @
0e56df30
...
@@ -66,7 +66,7 @@ protected:
...
@@ -66,7 +66,7 @@ protected:
::
rtl
::
OUString
sComment
;
/* zip file comment */
::
rtl
::
OUString
sComment
;
/* zip file comment */
EntryHash
aEntries
;
EntryHash
aEntries
;
ByteGrabber
aGrabber
;
ByteGrabber
aGrabber
;
Inflater
aInflater
;
ZipUtils
::
Inflater
aInflater
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
io
::
XInputStream
>
xStream
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
io
::
XInputStream
>
xStream
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
io
::
XSeekable
>
xSeek
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
io
::
XSeekable
>
xSeek
;
const
::
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
xFactory
;
const
::
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
xFactory
;
...
...
package/inc/ZipOutputStream.hxx
Dosyayı görüntüle @
0e56df30
...
@@ -49,7 +49,7 @@ protected:
...
@@ -49,7 +49,7 @@ protected:
::
std
::
vector
<
ZipEntry
*
>
aZipList
;
::
std
::
vector
<
ZipEntry
*
>
aZipList
;
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
aBuffer
,
aEncryptionBuffer
;
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
aBuffer
,
aEncryptionBuffer
;
::
rtl
::
OUString
sComment
;
::
rtl
::
OUString
sComment
;
Deflater
aDeflater
;
ZipUtils
::
Deflater
aDeflater
;
rtlCipher
aCipher
;
rtlCipher
aCipher
;
rtlDigest
aDigest
;
rtlDigest
aDigest
;
CRC32
aCRC
;
CRC32
aCRC
;
...
...
package/source/zipapi/Deflater.cxx
Dosyayı görüntüle @
0e56df30
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
using
namespace
com
::
sun
::
star
::
packages
::
zip
::
ZipConstants
;
using
namespace
com
::
sun
::
star
::
packages
::
zip
::
ZipConstants
;
using
namespace
com
::
sun
::
star
;
using
namespace
com
::
sun
::
star
;
using
namespace
ZipUtils
;
/** Provides general purpose compression using the ZLIB compression
/** Provides general purpose compression using the ZLIB compression
* library.
* library.
...
...
package/source/zipapi/Inflater.cxx
Dosyayı görüntüle @
0e56df30
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
#include <string.h> // for memset
#include <string.h> // for memset
using
namespace
com
::
sun
::
star
::
uno
;
using
namespace
com
::
sun
::
star
::
uno
;
using
namespace
ZipUtils
;
/** Provides general purpose decompression using the ZLIB library */
/** Provides general purpose decompression using the ZLIB library */
...
...
package/source/zipapi/XUnbufferedStream.hxx
Dosyayı görüntüle @
0e56df30
...
@@ -59,7 +59,7 @@ protected:
...
@@ -59,7 +59,7 @@ protected:
ZipEntry
maEntry
;
ZipEntry
maEntry
;
rtl
::
Reference
<
EncryptionData
>
mxData
;
rtl
::
Reference
<
EncryptionData
>
mxData
;
rtlCipher
maCipher
;
rtlCipher
maCipher
;
Inflater
maInflater
;
ZipUtils
::
Inflater
maInflater
;
sal_Bool
mbRawStream
,
mbWrappedRaw
,
mbFinished
;
sal_Bool
mbRawStream
,
mbWrappedRaw
,
mbFinished
;
sal_Int16
mnHeaderToRead
;
sal_Int16
mnHeaderToRead
;
sal_Int64
mnZipCurrent
,
mnZipEnd
,
mnZipSize
,
mnMyCurrent
;
sal_Int64
mnZipCurrent
,
mnZipEnd
,
mnZipSize
,
mnMyCurrent
;
...
...
package/source/zipapi/ZipFile.cxx
Dosyayı görüntüle @
0e56df30
...
@@ -62,6 +62,7 @@ using namespace com::sun::star::packages::zip;
...
@@ -62,6 +62,7 @@ using namespace com::sun::star::packages::zip;
using
namespace
com
::
sun
::
star
::
packages
::
zip
::
ZipConstants
;
using
namespace
com
::
sun
::
star
::
packages
::
zip
::
ZipConstants
;
using
rtl
::
OUString
;
using
rtl
::
OUString
;
using
ZipUtils
::
Inflater
;
/** This class is used to read entries from a zip file
/** This class is used to read entries from a zip file
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment