pimappsupport/vcardandvcal/inc/versitlinereaderext.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 // Copyright (c) 1997-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 //
       
    15 #ifndef __VERSITLINEREADEREXT_H__
       
    16 #define __VERSITLINEREADEREXT_H__
       
    17 
       
    18 #include <e32base.h>
       
    19 
       
    20 /** Extension mechanism for CLineReader
       
    21 This is an internal class and is only for use by CLineReader
       
    22 @internalComponent
       
    23 @released
       
    24 */
       
    25 NONSHARABLE_CLASS(CLineReaderExtension) : public CBase
       
    26 	{
       
    27 	friend class CLineReader;
       
    28 private:
       
    29 	CLineReaderExtension();
       
    30 	~CLineReaderExtension();
       
    31 
       
    32 	static CLineReaderExtension* NewL();
       
    33 	
       
    34 	void DeleteBase64ValueBuffer();
       
    35 	HBufC8* CreateBase64ValueBufferL();
       
    36 	HBufC8* Base64ValueBuffer();
       
    37 private:
       
    38 	TUint8 iBuf[1024];
       
    39 	TInt iOffset;
       
    40 	TInt iSize;
       
    41 
       
    42 // Hold the line buffer temporarily. 
       
    43 // It is only used when the client wants
       
    44 // the base64 extended behaviour defined
       
    45 // in MVersitPlugInExtensionBase64Ending
       
    46 	HBufC8* iLineBase64Value;
       
    47 	};
       
    48 	
       
    49 #endif //__VERSITLINEREADEREXT_H__