videocollection/mpxmyvideoscollection/src/vcxmyvideosmessagelist.cpp
changeset 15 cf5481c2bc0b
parent 0 96612d01cf9f
child 17 69946d1824c4
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
   128         
   128         
   129     if ( aExtraInfo )
   129     if ( aExtraInfo )
   130         {
   130         {
   131         message->SetTObjectValueL<TInt32>( KVcxMediaMyVideosInt32Value, aExtraInfo );
   131         message->SetTObjectValueL<TInt32>( KVcxMediaMyVideosInt32Value, aExtraInfo );
   132         }
   132         }
   133         
   133     
   134     MPX_DEBUG1("CVcxMyVideosMessageList:: appending to message array");
   134     MPX_DEBUG1("CVcxMyVideosMessageList:: appending to message array");
   135     
   135     
   136     iMessageArray->AppendL( message ); // ownership moves
   136     iMessageArray->AppendL( message ); // ownership moves
   137 
   137 
   138     CleanupStack::Pop( message ); // <-1        
   138     CleanupStack::Pop( message ); // <-1        
   297         iMessageList  = TVcxMyVideosCollectionUtil::CreateEmptyMessageListL();
   297         iMessageList  = TVcxMyVideosCollectionUtil::CreateEmptyMessageListL();
   298         iMessageArray = iMessageList->Value<CMPXMessageArray>( KMPXMessageArrayContents ); 
   298         iMessageArray = iMessageList->Value<CMPXMessageArray>( KMPXMessageArrayContents ); 
   299 
   299 
   300         iMessageList->SetTObjectValueL<TMPXMessageId>(KMPXMessageGeneralId, KVcxCommandIdMyVideos);
   300         iMessageList->SetTObjectValueL<TMPXMessageId>(KMPXMessageGeneralId, KVcxCommandIdMyVideos);
   301         iMessageList->SetTObjectValueL<TInt>(KVcxMediaMyVideosCommandId, KVcxMessageMyVideosMessageArray );
   301         iMessageList->SetTObjectValueL<TInt>(KVcxMediaMyVideosCommandId, KVcxMessageMyVideosMessageArray );
   302         iMessageList->SetTObjectValueL<TUid>(KMPXMessageCollectionId, TUid::Uid(KVcxUidMyVideosMpxCollection));        
   302         iMessageList->SetTObjectValueL<TUid>(KMPXMessageCollectionId, TUid::Uid(KVcxUidMyVideosMpxCollection));
   303         //iMessageList->SetTObjectValueL<TMPXChangeEventType>(KMPXMessageChangeEventType, aChange);        
       
   304         //iMessageList->SetTObjectValueL<TMPXItemId>(KMPXMessageMediaGeneralId, TMPXItemId(0, 0) );
       
   305         iMessageCount = 0;
   303         iMessageCount = 0;
   306         }
   304         }
   307     }
   305     }
   308 // End of file
   306 // End of file
   309 
   307