videocollection/mpxmyvideoscollection/src/vcxmyvideosmessagelist.cpp
changeset 20 b9e04db066d4
parent 17 69946d1824c4
child 28 c48470be1ba7
equal deleted inserted replaced
17:69946d1824c4 20:b9e04db066d4
   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