pimappsupport/vcardandvcal/inc/vpropbinaryfile.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 __VPROPBINARYFILE_H__
       
    16 #define __VPROPBINARYFILE_H__
       
    17 
       
    18 #include <s32strm.h>
       
    19 
       
    20 NONSHARABLE_CLASS(CParserPropertyValueBinaryFile) : public CParserPropertyValueBinary
       
    21 /** A file property value parser.
       
    22 
       
    23 It is used to store a file handle so that the binary data can be read through the handle when exporting.
       
    24 It is not used when importing.
       
    25 The UID for a binary property value is KVersitPropertyBinaryUid. 
       
    26 @publishedPartner
       
    27 @released
       
    28 */
       
    29 	{
       
    30 public:
       
    31 	IMPORT_C static CParserPropertyValueBinaryFile* NewL(const RFile& aFileHandle);
       
    32 	IMPORT_C ~CParserPropertyValueBinaryFile();
       
    33 public: // from CParserPropertyValue
       
    34 	void ExternalizeL(RWriteStream& aStream,const Versit::TEncodingAndCharset& aEncodingCharset,TInt aLengthOutput);
       
    35 
       
    36 private:
       
    37 	void ConstructL(const RFile& aFileHandle);
       
    38 private:
       
    39 	RFileReadStream iFileStream;
       
    40 	};
       
    41 	
       
    42 #endif //__VPROPBINARYFILE_H__