--- a/persistentstorage/centralrepository/common/src/cregen.cpp Mon Sep 27 11:59:56 2010 +0100
+++ b/persistentstorage/centralrepository/common/src/cregen.cpp Tue Oct 19 16:26:13 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -88,6 +88,12 @@
{
aStream << aPersistVersion;
aStream << aRep.iUid ;
+#ifdef SYMBIAN_INCLUDE_APP_CENTRIC
+ if (aPersistVersion>=KPersistFormatSupportsPma)
+ {
+ aStream << aRep.iKeyspaceType;
+ }
+#endif
aStream << aRep.iOwner ;
TUint32 count=aRep.iSinglePolicies.Count();
@@ -146,6 +152,16 @@
User::Leave(KErrCorrupt);
}
+#ifdef SYMBIAN_INCLUDE_APP_CENTRIC
+ if (version>=KPersistFormatSupportsPma)
+ {
+ aStream >> aRep.iKeyspaceType;
+ }
+ else
+ {
+ aRep.iKeyspaceType = ENonPMAKeyspace;
+ }
+#endif
aStream >> aRep.iOwner ;
TUint32 count;