pimappservices/calendar/server/src/agsalarm.cpp
changeset 45 b6db4fd4947b
parent 0 f979ecb2b13e
child 60 96907930389d
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
   678 		aAlarmInfo.iRecurrenceId = entry->RecurrenceId().LocalL();
   678 		aAlarmInfo.iRecurrenceId = entry->RecurrenceId().LocalL();
   679 		}
   679 		}
   680 	else
   680 	else
   681 		{
   681 		{
   682 		aAlarmInfo.iRecurrenceId = entry->RecurrenceId().UtcL();
   682 		aAlarmInfo.iRecurrenceId = entry->RecurrenceId().UtcL();
   683 		}
   683 		}	
   684 	aAlarmInfo.iGlobalIdentifier = iModel->GetEntryGuidL(*entry);
   684 	
       
   685 	// Check the length of the Uid from the entry if it is less than the 
       
   686 	// the supported length assign it to the aAlarmInfo.
       
   687 	// as per the RFC we are supporting 256 chars most of  app UID is within this range
       
   688 	// in future if anyone supports more than this length we need to handle this here .
       
   689 	if (iModel->GetEntryGuidL(*entry).Length() <= KAgnEntryMaxGuidLength)	    
       
   690 	    aAlarmInfo.iGlobalIdentifier = iModel->GetEntryGuidL(*entry);
       
   691 	
   685 	CleanupStack::PopAndDestroy(entry);
   692 	CleanupStack::PopAndDestroy(entry);
   686 	}
   693 	}
   687 	
   694 	
   688 void CAgnAlarmActive::SetQueueAlarmsInPast(TBool aQueueAlarmsInPast)
   695 void CAgnAlarmActive::SetQueueAlarmsInPast(TBool aQueueAlarmsInPast)
   689 	{
   696 	{