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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
15 // Defines Mixin class for a BufferManager
19 #ifndef __EZBUFFERMANAGER_H__
20 #define __EZBUFFERMANAGER_H__
25 Interface class to manage input and output buffers for compression and de-compression
30 class MEZBufferManager
35 Initialise the stream with input and output buffers and starts reading
37 @param aZStream the stream to initialise
39 virtual void InitializeL(CEZZStream &aZStream) = 0;
42 Set the stream's input buffer and starts reading
44 @param aZStream the steam whose input buffer to set
46 virtual void NeedInputL(CEZZStream &aZStream) = 0;
49 Set the stream's output buffer and start writing
51 @param aZStream the steam whose output buffer to set
53 virtual void NeedOutputL(CEZZStream &aZStream) = 0;
56 Finish writing to the stream
58 @param aZStream the stream to complete writing to
60 virtual void FinalizeL(CEZZStream &aZStream) = 0;