harvesterplugins/contacts/src/ccontactsplugin.cpp
changeset 11 773be20e0a25
parent 7 51d10d255e92
child 12 993ab30e92fc
equal deleted inserted replaced
7:51d10d255e92 11:773be20e0a25
   149 	{
   149 	{
   150 	switch( aEvent.iType )
   150 	switch( aEvent.iType )
   151 		{
   151 		{
   152 		case EContactDbObserverEventContactChanged:
   152 		case EContactDbObserverEventContactChanged:
   153 		case EContactDbObserverEventGroupChanged:
   153 		case EContactDbObserverEventGroupChanged:
       
   154 		case EContactDbObserverEventOwnCardChanged:
   154 			OstTrace1( TRACE_NORMAL, DUP3_CCONTACTSPLUGIN_HANDLEDATABASEEVENTL, "CContactsPlugin::HandleDatabaseEventL;Monitored update id=%d", aEvent.iContactId );			
   155 			OstTrace1( TRACE_NORMAL, DUP3_CCONTACTSPLUGIN_HANDLEDATABASEEVENTL, "CContactsPlugin::HandleDatabaseEventL;Monitored update id=%d", aEvent.iContactId );			
   155 			CPIXLOGSTRING2("CContactsPlugin::DelayedCallbackL(): Monitored update id=%d.", aEvent.iContactId);
   156 			CPIXLOGSTRING2("CContactsPlugin::DelayedCallbackL(): Monitored update id=%d.", aEvent.iContactId);
   156 #ifdef __PERFORMANCE_DATA
   157 #ifdef __PERFORMANCE_DATA
   157             iStartTime.UniversalTime();
   158             iStartTime.UniversalTime();
   158             CreateContactIndexItemL(aEvent.iContactId, ECPixUpdateAction);
   159             CreateContactIndexItemL(aEvent.iContactId, ECPixUpdateAction);
   162 #endif			
   163 #endif			
   163 			break;
   164 			break;
   164 
   165 
   165 		case EContactDbObserverEventContactDeleted:
   166 		case EContactDbObserverEventContactDeleted:
   166 		case EContactDbObserverEventGroupDeleted:
   167 		case EContactDbObserverEventGroupDeleted:
       
   168 		case EContactDbObserverEventOwnCardDeleted:
   167 			OstTrace1( TRACE_NORMAL, CCONTACTSPLUGIN_HANDLEDATABASEEVENTL, "CContactsPlugin::HandleDatabaseEventL();Monitored delete id=%d", aEvent.iContactId );
   169 			OstTrace1( TRACE_NORMAL, CCONTACTSPLUGIN_HANDLEDATABASEEVENTL, "CContactsPlugin::HandleDatabaseEventL();Monitored delete id=%d", aEvent.iContactId );
   168 			CPIXLOGSTRING2("CContactsPlugin::DelayedCallbackL(): Monitored delete id=%d.", aEvent.iContactId);
   170 			CPIXLOGSTRING2("CContactsPlugin::DelayedCallbackL(): Monitored delete id=%d.", aEvent.iContactId);
   169 #ifdef __PERFORMANCE_DATA
   171 #ifdef __PERFORMANCE_DATA
   170             iStartTime.UniversalTime();			
   172             iStartTime.UniversalTime();			
   171 			CreateContactIndexItemL(aEvent.iContactId, ECPixRemoveAction);
   173 			CreateContactIndexItemL(aEvent.iContactId, ECPixRemoveAction);