os/persistentdata/persistentstorage/centralrepository/common/inc/cregen.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2008-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 
    16 #ifndef CREGEN_H_
    17 #define CREGEN_H_
    18 
    19 #include <e32base.h>
    20 #include <f32file.h>
    21 
    22 class CHeapRepository;
    23 
    24 /**
    25 @internalTechnology
    26 */
    27 class CCreGenerator : public CBase
    28 	{
    29 public:
    30 	void static CommitChangesToCreL(RFs& aFs,TUint8 aPersistVersion,CHeapRepository& aRep,const TDesC& aTargetFilePath);
    31 	void static CreateReposFromCreL(RFs& aFs,CHeapRepository& aRep, const TDesC& aFilePath
    32 #ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS	
    33 	,TUint8& aCreVersion
    34 #endif	
    35 	);
    36 	
    37 	void static ExternalizeCre(TUint8 aPersistVersion,const CHeapRepository& aRep, RWriteStream& aStream);
    38 	void static InternalizeCreL(CHeapRepository& aRep, RReadStream& aStream
    39 #ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS	
    40 	,TUint8& aCreVersion
    41 #endif	
    42 	);	
    43 	};
    44 
    45 #endif /*CREGEN_H_*/