videocollection/mpxmyvideoscollection/src/vcxmyvideosmdsalbums.cpp
changeset 39 f6d44a0cd476
parent 38 ff53afa8ad05
child 40 13331705e488
equal deleted inserted replaced
38:ff53afa8ad05 39:f6d44a0cd476
  1040 //
  1040 //
  1041 void CVcxMyVideosMdsAlbums::HandleRelationItemNotification(CMdESession& /*aSession*/, 
  1041 void CVcxMyVideosMdsAlbums::HandleRelationItemNotification(CMdESession& /*aSession*/, 
  1042         TObserverNotificationType aType,
  1042         TObserverNotificationType aType,
  1043         const RArray<TMdERelation>& aRelationArray)
  1043         const RArray<TMdERelation>& aRelationArray)
  1044     {
  1044     {
  1045     iObserver->HandleRelationEvent( aType, aRelationArray );
  1045     if ( iObserver )
       
  1046         {
       
  1047         iObserver->HandleRelationEvent( aType, aRelationArray );
       
  1048         }
  1046     }
  1049     }
  1047 
  1050 
  1048 #if 0
  1051 #if 0
  1049 // ----------------------------------------------------------------------------
  1052 // ----------------------------------------------------------------------------
  1050 // CVcxMyVideosMdsAlbums::HandleRelationNotification
  1053 // CVcxMyVideosMdsAlbums::HandleRelationNotification
  1057     {    
  1060     {    
  1058     switch ( aType )
  1061     switch ( aType )
  1059         {
  1062         {
  1060         case ENotifyAdd:
  1063         case ENotifyAdd:
  1061             MPX_DEBUG1("CVcxMyVideosMdsAlbums:: relation ENotifyAdd");
  1064             MPX_DEBUG1("CVcxMyVideosMdsAlbums:: relation ENotifyAdd");
  1062             iObserver->HandleRelationIdEvent( aType, aRelationIdArray );
  1065             if ( iObserver )
       
  1066                 {
       
  1067                 iObserver->HandleRelationIdEvent( aType, aRelationIdArray );
       
  1068                 }
  1063             break;
  1069             break;
  1064         case ENotifyModify:
  1070         case ENotifyModify:
  1065             MPX_DEBUG1("CVcxMyVideosMdsAlbums:: ENotifyModify");
  1071             MPX_DEBUG1("CVcxMyVideosMdsAlbums:: ENotifyModify");
  1066             break;
  1072             break;
  1067         case ENotifyRemove:
  1073         case ENotifyRemove: