engine/collectionframework/datasource/plugins/glxdatasourcemde2.5/src/glxdatasourcemds.cpp
equal
deleted
inserted
replaced
486 |
486 |
487 // --------------------------------------------------------------------------- |
487 // --------------------------------------------------------------------------- |
488 // CGlxDataSourceMde::HandleObjectNotification |
488 // CGlxDataSourceMde::HandleObjectNotification |
489 // --------------------------------------------------------------------------- |
489 // --------------------------------------------------------------------------- |
490 // |
490 // |
491 ///@todo AB test this |
|
492 void CGlxDataSourceMde::HandleObjectNotification(CMdESession& /*aSession*/, |
491 void CGlxDataSourceMde::HandleObjectNotification(CMdESession& /*aSession*/, |
493 TObserverNotificationType aType, |
492 TObserverNotificationType aType, |
494 const RArray<TItemId>& aObjectIdArray) |
493 const RArray<TItemId>& aObjectIdArray) |
495 { |
494 { |
496 TRACER("CGlxDataSourceMde::HandleObjectNotification()"); |
495 TRACER("CGlxDataSourceMde::HandleObjectNotification()"); |
535 |
534 |
536 // --------------------------------------------------------------------------- |
535 // --------------------------------------------------------------------------- |
537 // CGlxDataSourceMde::HandleObjectPresentNotification |
536 // CGlxDataSourceMde::HandleObjectPresentNotification |
538 // --------------------------------------------------------------------------- |
537 // --------------------------------------------------------------------------- |
539 // |
538 // |
540 ///@todo AB test this |
|
541 void CGlxDataSourceMde::HandleObjectPresentNotification(CMdESession& /*aSession*/, |
539 void CGlxDataSourceMde::HandleObjectPresentNotification(CMdESession& /*aSession*/, |
542 TBool aPresent, const RArray<TItemId>& aObjectIdArray) |
540 TBool aPresent, const RArray<TItemId>& aObjectIdArray) |
543 { |
541 { |
544 TRACER("CGlxDataSourceMde::HandleObjectPresentNotification()"); |
542 TRACER("CGlxDataSourceMde::HandleObjectPresentNotification()"); |
545 if (aPresent) |
543 if (aPresent) |
554 |
552 |
555 // --------------------------------------------------------------------------- |
553 // --------------------------------------------------------------------------- |
556 // CGlxDataSourceMde::HandleRelationNotification |
554 // CGlxDataSourceMde::HandleRelationNotification |
557 // --------------------------------------------------------------------------- |
555 // --------------------------------------------------------------------------- |
558 // |
556 // |
559 ///@todo AB test this |
|
560 void CGlxDataSourceMde::HandleRelationNotification(CMdESession& /*aSession*/, |
557 void CGlxDataSourceMde::HandleRelationNotification(CMdESession& /*aSession*/, |
561 TObserverNotificationType aType, |
558 TObserverNotificationType aType, |
562 const RArray<TItemId>& aRelationIdArray) |
559 const RArray<TItemId>& aRelationIdArray) |
563 { |
560 { |
564 TRACER("CGlxDataSourceMde::HandleRelationNotification()"); |
561 TRACER("CGlxDataSourceMde::HandleRelationNotification()"); |
567 |
564 |
568 // --------------------------------------------------------------------------- |
565 // --------------------------------------------------------------------------- |
569 // CGlxDataSourceMde::HandleRelationPresentNotification |
566 // CGlxDataSourceMde::HandleRelationPresentNotification |
570 // --------------------------------------------------------------------------- |
567 // --------------------------------------------------------------------------- |
571 // |
568 // |
572 ///@todo AB test this |
|
573 void CGlxDataSourceMde::HandleRelationPresentNotification(CMdESession& /*aSession*/, |
569 void CGlxDataSourceMde::HandleRelationPresentNotification(CMdESession& /*aSession*/, |
574 TBool aPresent, const RArray<TItemId>& aRelationIdArray) |
570 TBool aPresent, const RArray<TItemId>& aRelationIdArray) |
575 { |
571 { |
576 TRACER("CGlxDataSourceMde::HandleRelationPresentNotification()"); |
572 TRACER("CGlxDataSourceMde::HandleRelationPresentNotification()"); |
577 if (aPresent) |
573 if (aPresent) |
1153 aHarvesterEventState); |
1149 aHarvesterEventState); |
1154 |
1150 |
1155 switch(aHarvesterEventState) |
1151 switch(aHarvesterEventState) |
1156 { |
1152 { |
1157 case EHEStateStarted: |
1153 case EHEStateStarted: |
1158 GLX_LOG_INFO("CGlxDataSourceMde::HarvestingUpdated() - EHEStateStarted"); |
1154 { |
|
1155 GLX_LOG_INFO("CGlxDataSourceMde::HarvestingUpdated() - EHEStateStarted"); |
|
1156 iHarvestingOngoing = ETrue; |
|
1157 } |
|
1158 break; |
1159 case EHEStateResumed: |
1159 case EHEStateResumed: |
1160 case EHEStateHarvesting: |
1160 case EHEStateHarvesting: |
1161 { |
1161 { |
1162 iHarvestingOngoing = ETrue; |
1162 iHarvestingOngoing = ETrue; |
1163 } |
1163 } |