compressionlibs/ziplib/test/oldezlib/inc/OldEZBufman.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // EZLib: BUFMAN.H
       
    15 // Defines Mixin class for a BufferManager
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef __EZLIB_EZBUFFERMANAGER_H__
       
    20 #define __EZLIB_EZBUFFERMANAGER_H__
       
    21 
       
    22 #include "OldEZstream.h"
       
    23 
       
    24 class TOLDEZLIB::CEZZStream;
       
    25 
       
    26 
       
    27 /**
       
    28 Interface class to manage input and output buffers for compression and de-compression
       
    29 
       
    30 @publishedAll
       
    31 @released
       
    32 */
       
    33 namespace TOLDEZLIB
       
    34 {
       
    35 class MEZBufferManager
       
    36 	{
       
    37 public:
       
    38 
       
    39 	/**
       
    40 	Initialise the stream with input and output buffers and starts reading
       
    41 
       
    42 	@param aZStream the stream to initialise
       
    43 	*/
       
    44 	virtual void InitializeL(CEZZStream &aZStream) = 0;
       
    45 	
       
    46 	/**
       
    47 	Set the stream's input buffer and starts reading
       
    48 	
       
    49 	@param aZStream the steam whose input buffer to set
       
    50 	*/	
       
    51 	virtual void NeedInputL(CEZZStream &aZStream) = 0;
       
    52 	
       
    53 	/**
       
    54 	Set the stream's output buffer and start writing
       
    55 
       
    56 	@param aZStream the steam whose output buffer to set
       
    57 	*/	
       
    58 	virtual void NeedOutputL(CEZZStream &aZStream) = 0;
       
    59 	
       
    60 	/**
       
    61 	Finish writing to the stream
       
    62 
       
    63 	@param aZStream the stream to complete writing to
       
    64 	*/	
       
    65 	virtual void FinalizeL(CEZZStream &aZStream) = 0;
       
    66 	};
       
    67 }//TOLDEZLIB
       
    68 #endif
       
    69