diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-05-24 22:05:30 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-05-28 12:27:48 +0200 |
commit | 7cd3f267cfbf3655f6a7a395b80560ecd22e15f7 (patch) | |
tree | e14173cddc4e4fb5b0709a7ae64d90316da0b76a /include | |
parent | ee22409ab6187d3545db71d255ec3866262baa6e (diff) |
split out thread functionality from ZipOutputEntry
It can be easily separated out, it looked like hacked in. And
I will need to do more refactoring of the class, so this shouldn't
be more complex than necessary.
Change-Id: I302da55409e9195274907ca4939c37fbb2427b18
Reviewed-on: https://gerrit.libreoffice.org/73031
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/package/Deflater.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/package/Deflater.hxx b/include/package/Deflater.hxx index 1fbff8cec8f8..3cd528bf5afd 100644 --- a/include/package/Deflater.hxx +++ b/include/package/Deflater.hxx @@ -45,12 +45,12 @@ public: ~Deflater(); Deflater(sal_Int32 nSetLevel, bool bNowrap); void setInputSegment( const css::uno::Sequence< sal_Int8 >& rBuffer ); - bool needsInput( ); + bool needsInput() const; void finish( ); - bool finished( ) { return bFinished;} + bool finished() const { return bFinished;} sal_Int32 doDeflateSegment( css::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewLength ); - sal_Int64 getTotalIn( ); - sal_Int64 getTotalOut( ); + sal_Int64 getTotalIn() const; + sal_Int64 getTotalOut() const; void reset( ); void end( ); }; |