equal
deleted
inserted
replaced
304 // ----------------------------------------------------------------------------- |
304 // ----------------------------------------------------------------------------- |
305 // CThumbAGDaemon::HandleObjectNotification |
305 // CThumbAGDaemon::HandleObjectNotification |
306 // ----------------------------------------------------------------------------- |
306 // ----------------------------------------------------------------------------- |
307 // |
307 // |
308 |
308 |
309 void CThumbAGDaemon::HandleUriObjectNotification(CMdESession& aSession, |
309 void CThumbAGDaemon::HandleUriObjectNotification(CMdESession& /*aSession*/, |
310 TObserverNotificationType aType, |
310 TObserverNotificationType aType, |
311 const RArray<TItemId>& aObjectIdArray, |
311 const RArray<TItemId>& aObjectIdArray, |
312 const RPointerArray<HBufC>& aObjectUriArray) |
312 const RPointerArray<HBufC>& aObjectUriArray) |
313 { |
313 { |
314 TN_DEBUG1( "CThumbAGDaemon::HandleUriObjectNotification() - begin" ); |
314 TN_DEBUG1( "CThumbAGDaemon::HandleUriObjectNotification() - begin" ); |
508 |
508 |
509 // add observer |
509 // add observer |
510 iMdESession->AddObjectObserverL( *this, addCondition, ENotifyAdd ); |
510 iMdESession->AddObjectObserverL( *this, addCondition, ENotifyAdd ); |
511 |
511 |
512 // modify observer |
512 // modify observer |
513 //iMdESession->AddObjectObserverL( *this, modifyCondition, ENotifyModify ); |
513 #ifdef MDS_MODIFY_OBSERVER |
|
514 iMdESession->AddObjectObserverL( *this, modifyCondition, ENotifyModify ); |
|
515 #endif |
514 |
516 |
515 #ifdef MDS_URI_OBSERVER |
517 #ifdef MDS_URI_OBSERVER |
516 // remove observer with uri |
518 // remove observer with uri |
517 iMdESession->AddObjectObserverWithUriL( *this, NULL, ENotifyRemove ); |
519 iMdESession->AddObjectObserverWithUriL( *this, NULL, ENotifyRemove ); |
518 #endif |
520 #endif |