omads/omadsappui/AspSyncUtil/src/AspProfile.cpp
branchRCL_3
changeset 8 ad0f53516d84
parent 4 e6e896426eac
child 10 b922b9936679
--- a/omads/omadsappui/AspSyncUtil/src/AspProfile.cpp	Tue Feb 02 00:02:49 2010 +0000
+++ b/omads/omadsappui/AspSyncUtil/src/AspProfile.cpp	Fri Feb 19 22:40:37 2010 +0200
@@ -1440,12 +1440,18 @@
     TPckgC<TInt> pckgAppUIDValue( KCRUidNSmlDSApp.iUid );    
     calinfo->SetPropertyL( keyBuff, pckgAppUIDValue );
 
-
+    // Profile ID Meta Property
     keyBuff.Zero();
     keyBuff.AppendNum( EDeviceSyncProfileID );
     TPckgC<TInt> pckgProfileIdValue( currentProfileId );    
     calinfo->SetPropertyL( keyBuff, pckgProfileIdValue );
 
+    // Lock the SYNC option
+   keyBuff.Zero();
+   keyBuff.AppendNum( ESyncConfigEnabled );
+   TBool synclockstatus( ETrue );
+   TPckgC<TBool> pckgSyncLockValue( synclockstatus );
+   calinfo->SetPropertyL( keyBuff, pckgSyncLockValue );
     
     // Create the CalFile
     HBufC* calfilename = CCalenMultiCalUtil::GetNextAvailableCalFileL();