epoc32/include/app/vprop.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     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
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    53 class CParserProperty;
    53 class CParserProperty;
    54 class CVersitParser;
    54 class CVersitParser;
    55 class MVersitPlugIn;
    55 class MVersitPlugIn;
    56 class CParserPropertyValueCDesCArray;
    56 class CParserPropertyValueCDesCArray;
    57 
    57 
       
    58 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    58 const TInt KRandomnumberlen = 5;
    59 const TInt KRandomnumberlen = 5;
    59 const TInt KMaxGeneratedfilenamelen =16; 
    60 const TInt KMaxGeneratedfilenamelen =16;
       
    61 #endif 
    60 //
    62 //
    61 // CParserParam
    63 // CParserParam
    62 //
    64 //
    63 
    65 
    64 class CParserParam : public CBase
    66 class CParserParam : public CBase
   355 	void ExternalizeL(RWriteStream& aStream, const Versit::TEncodingAndCharset& aEncodingCharset, TInt aLengthOutput, RReadStream& aReadStream);
   357 	void ExternalizeL(RWriteStream& aStream, const Versit::TEncodingAndCharset& aEncodingCharset, TInt aLengthOutput, RReadStream& aReadStream);
   356 
   358 
   357 protected:
   359 protected:
   358 	CBufSeg* iValue;
   360 	CBufSeg* iValue;
   359 	};//
   361 	};//
   360 	
   362 
       
   363 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS	
   361 NONSHARABLE_CLASS(CParserPropertyValueBinaryFile) : public CParserPropertyValueBinary
   364 NONSHARABLE_CLASS(CParserPropertyValueBinaryFile) : public CParserPropertyValueBinary
   362 /** A file property value parser.
   365 /** A file property value parser.
   363 
   366 
   364 It is used to store a file handle so that the binary data can be read through the handle when exporting.
   367 It is used to store a file handle so that the binary data can be read through the handle when exporting.
   365 It is not used when importing.
   368 It is not used when importing.
   366 The UID for a binary property value is KVersitPropertyBinaryUid. 
   369 The UID for a binary property value is KVersitPropertyBinaryUid. 
   367 @publishedPartner
   370 @publishedPartner
   368 @prototype
   371 @released
   369 */
   372 */
   370 	{
   373 	{
   371 public:
   374 public:
   372 	IMPORT_C static CParserPropertyValueBinaryFile* NewL(const RFile& aFileHandle);
   375 	IMPORT_C static CParserPropertyValueBinaryFile* NewL(const RFile& aFileHandle);
   373 	IMPORT_C ~CParserPropertyValueBinaryFile();
   376 	IMPORT_C ~CParserPropertyValueBinaryFile();
   377 private:
   380 private:
   378 	void ConstructL(const RFile& aFileHandle);
   381 	void ConstructL(const RFile& aFileHandle);
   379 private:
   382 private:
   380 	RFileReadStream iFileStream;
   383 	RFileReadStream iFileStream;
   381 	};
   384 	};
   382 
   385 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS
   383 //  CParserPropertyValueCDesCArray
   386 //  CParserPropertyValueCDesCArray
   384 //
   387 //
   385 class CParserPropertyValueCDesCArray : public CParserPropertyValue
   388 class CParserPropertyValueCDesCArray : public CParserPropertyValue
   386 /** A property value parser which stores an array of descriptors.
   389 /** A property value parser which stores an array of descriptors.
   387 
   390