omads/omadsextensions/dsutils/nsmldefaultagendahandler/src/nsmldefaultagendahandlerplugin.cpp
branchRCL_3
changeset 23 2bb96f4ecad8
parent 16 661c849b1858
equal deleted inserted replaced
22:8d171aa39c3f 23:2bb96f4ecad8
   239             FLOG(_L("CNSmlDefaultAgendaHandlerPlugin::SynchronizableCalendarIdsL: Error while retrieving CalFile Property: '%d'"), err);
   239             FLOG(_L("CNSmlDefaultAgendaHandlerPlugin::SynchronizableCalendarIdsL: Error while retrieving CalFile Property: '%d'"), err);
   240 			CleanupStack::PopAndDestroy(caleninfo);
   240 			CleanupStack::PopAndDestroy(caleninfo);
   241             CleanupStack::PopAndDestroy(vCalSubSession);  	  	 
   241             CleanupStack::PopAndDestroy(vCalSubSession);  	  	 
   242             continue;
   242             continue;
   243             }
   243             }
       
   244 			
       
   245 		//Get MARKASDELETE MetaData property
       
   246 		keyBuff.Zero();
       
   247 		TBool markAsdelete = EFalse;
       
   248 		keyBuff.AppendNum( EMarkAsDelete );
       
   249 		TPckgC<TBool> pckMarkAsDelete(markAsdelete);
       
   250 		TRAP(err,pckMarkAsDelete.Set(caleninfo->PropertyValueL(keyBuff)));
       
   251 		if ( err == KErrNone )
       
   252 			{
       
   253 			markAsdelete = pckMarkAsDelete();
       
   254 			if( markAsdelete )
       
   255 				{
       
   256 				FLOG(_L("CNSmlDefaultAgendaHandlerPlugin::SynchronizableCalendarIdsL: Dead Calendar, not including in the snapshot"));
       
   257 				CleanupStack::PopAndDestroy(caleninfo);
       
   258 				CleanupStack::PopAndDestroy(vCalSubSession);  	  	 
       
   259 				continue;
       
   260 				}
       
   261 			}
   244         
   262         
   245         //Get OWNER value associated with the CalFile
   263         //Get OWNER value associated with the CalFile
   246         keyBuff.Zero();
   264         keyBuff.Zero();
   247         TInt SyncServiceOwnerVal;
   265         TInt SyncServiceOwnerVal;
   248         keyBuff.AppendNum( EDeviceSyncServiceOwner );
   266         keyBuff.AppendNum( EDeviceSyncServiceOwner );