summaryrefslogtreecommitdiff
path: root/package/inc/Deflater.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/inc/Deflater.hxx')
-rw-r--r--package/inc/Deflater.hxx50
1 files changed, 25 insertions, 25 deletions
diff --git a/package/inc/Deflater.hxx b/package/inc/Deflater.hxx
index 5a0259056e31..7d787478ca53 100644
--- a/package/inc/Deflater.hxx
+++ b/package/inc/Deflater.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Deflater.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: mtg $ $Date: 2001-04-19 14:11:06 $
+ * last change: $Author: mtg $ $Date: 2001-04-27 14:56:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,21 +61,21 @@
#ifndef _DEFLATER_HXX_
#define _DEFLATER_HXX_
-#ifndef _COM_SUN_STAR_PACKAGE_XDEFLATER_HDL_
-#include <com/sun/star/packages/XDeflater.hpp>
+
+#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
+#include <com/sun/star/uno/Sequence.hxx>
#endif
-#ifndef _CPPUHELPER_IMPLBASE1_HXX_
-#include <cppuhelper/implbase1.hxx>
+#ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HDL_
+#include <com/sun/star/uno/RuntimeException.hdl>
#endif
-
extern "C"
{
typedef struct z_stream_s z_stream;;
};
-class Deflater : public cppu::WeakImplHelper1 < com::sun::star::packages::XDeflater>
+class Deflater
{
-private:
+protected:
com::sun::star::uno::Sequence< sal_Int8 > sInBuffer;
sal_Bool bFinish;
sal_Bool bFinished;
@@ -92,37 +92,37 @@ public:
~Deflater();
Deflater(sal_Int32 nSetLevel);
Deflater(sal_Int32 nSetLevel, sal_Bool bNowrap);
- virtual void SAL_CALL setInputSegment( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
+ void SAL_CALL setInputSegment( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setInput( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer )
+ void SAL_CALL setInput( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer )
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setDictionarySegment( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
+ void SAL_CALL setDictionarySegment( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setDictionary( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer )
+ void SAL_CALL setDictionary( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer )
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setStrategy( sal_Int32 nNewStrategy )
+ void SAL_CALL setStrategy( sal_Int32 nNewStrategy )
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setLevel( sal_Int32 nNewLevel )
+ void SAL_CALL setLevel( sal_Int32 nNewLevel )
throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL needsInput( )
+ sal_Bool SAL_CALL needsInput( )
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL finish( )
+ void SAL_CALL finish( )
throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL finished( )
+ sal_Bool SAL_CALL finished( )
throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL doDeflateSegment( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
+ sal_Int32 SAL_CALL doDeflateSegment( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL doDeflate( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer )
+ sal_Int32 SAL_CALL doDeflate( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer )
throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getAdler( )
+ sal_Int32 SAL_CALL getAdler( )
throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getTotalIn( )
+ sal_Int32 SAL_CALL getTotalIn( )
throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getTotalOut( )
+ sal_Int32 SAL_CALL getTotalOut( )
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL reset( )
+ void SAL_CALL reset( )
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL end( )
+ void SAL_CALL end( )
throw(::com::sun::star::uno::RuntimeException);
};