epoc32/include/ezbufman.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.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 __EZBUFFERMANAGER_H__
    20 #define __EZBUFFERMANAGER_H__
    21 
    22 class CEZZStream;
    23 
    24 /**
    25 Interface class to manage input and output buffers for compression and de-compression
    26 
    27 @publishedAll
    28 @released
    29 */
    30 class MEZBufferManager
    31 	{
    32 public:
    33 
    34 	/**
    35 	Initialise the stream with input and output buffers and starts reading
    36 
    37 	@param aZStream the stream to initialise
    38 	*/
    39 	virtual void InitializeL(CEZZStream &aZStream) = 0;
    40 	
    41 	/**
    42 	Set the stream's input buffer and starts reading
    43 	
    44 	@param aZStream the steam whose input buffer to set
    45 	*/	
    46 	virtual void NeedInputL(CEZZStream &aZStream) = 0;
    47 	
    48 	/**
    49 	Set the stream's output buffer and start writing
    50 
    51 	@param aZStream the steam whose output buffer to set
    52 	*/	
    53 	virtual void NeedOutputL(CEZZStream &aZStream) = 0;
    54 	
    55 	/**
    56 	Finish writing to the stream
    57 
    58 	@param aZStream the stream to complete writing to
    59 	*/	
    60 	virtual void FinalizeL(CEZZStream &aZStream) = 0;
    61 	};
    62 
    63 #endif