videocollection/mpxmyvideoscollection/src/vcxmyvideosmessagelist.cpp
changeset 37 4eb2df7f7cbe
parent 36 8aed59de29f9
child 28 c48470be1ba7
equal deleted inserted replaced
36:8aed59de29f9 37:4eb2df7f7cbe
   187                 extraInfo = 0;
   187                 extraInfo = 0;
   188                 if ( media->IsSupported( KVcxMediaMyVideosInt32Value ) )
   188                 if ( media->IsSupported( KVcxMediaMyVideosInt32Value ) )
   189                     {
   189                     {
   190                     extraInfo = media->ValueTObjectL<TInt32>( KVcxMediaMyVideosInt32Value );
   190                     extraInfo = media->ValueTObjectL<TInt32>( KVcxMediaMyVideosInt32Value );
   191                     }
   191                     }
       
   192                     
       
   193                 if ( extraInfo == EVcxMyVideosVideoListOrderChanged &&
       
   194                         aExtraInfo == 0 )
       
   195                     {
       
   196                     MPX_DEBUG1("CVcxMyVideosMessageList:: found similar message with EVcxMyVideosVideoListOrderChanged flag set, discarding this msg");
       
   197                     return ETrue;
       
   198                     }
       
   199                 
       
   200                 if ( aExtraInfo == EVcxMyVideosVideoListOrderChanged &&
       
   201                        extraInfo == 0 )
       
   202                     {
       
   203                     MPX_DEBUG1("CVcxMyVideosMessageList:: Turning the EVcxMyVideosVideoListOrderChanged flag on to the previous message");
       
   204                     MPX_DEBUG1("CVcxMyVideosMessageList:: and discarding this.");
       
   205                     media->SetTObjectValueL<TInt32>( KVcxMediaMyVideosInt32Value,
       
   206                             EVcxMyVideosVideoListOrderChanged );
       
   207                     return ETrue;
       
   208                     }
       
   209                      
   192                 if ( aExtraInfo == extraInfo )
   210                 if ( aExtraInfo == extraInfo )
   193                     {
   211                     {
   194                     return ETrue;
   212                     return ETrue;
   195                     }
   213                     }
   196                 else
   214                 else