uiservicetab/vimpstcmdprocess/src/cvimpstprocessArray.cpp
branchRCL_3
changeset 19 76f25fb7a6a1
parent 14 9fdee5e1da30
child 25 fda5a9396e07
equal deleted inserted replaced
18:36d367c62acb 19:76f25fb7a6a1
  1024         RemoveAddRequestData();
  1024         RemoveAddRequestData();
  1025         iUnKnownContactArray.ResetAndDestroy();// delete all items
  1025         iUnKnownContactArray.ResetAndDestroy();// delete all items
  1026         iUnKnownContactArray.Reset();
  1026         iUnKnownContactArray.Reset();
  1027         iAddRequestArray.ResetAndDestroy();// delete all items
  1027         iAddRequestArray.ResetAndDestroy();// delete all items
  1028         iAddRequestArray.Reset();
  1028         iAddRequestArray.Reset();
       
  1029         
       
  1030         // Reset contact list array (append the contacts to contact list array 
       
  1031         // by getting from contactlist model) before contacts update.  
       
  1032         if(aLoginState == TVIMPSTEnums::ESVCENotRegistered )
       
  1033         	{
       
  1034 			ResetArray();
       
  1035         	}
       
  1036         
  1029         // reset the status of all the contacts.
  1037         // reset the status of all the contacts.
  1030         // no need to check the item type here. by the time its here all the other 
  1038         // no need to check the item type here. by the time its here all the other 
  1031         // type except contact item are removed.
  1039         // type except contact item are removed.
  1032         TInt count = iItemArray.Count();
  1040         TInt count = iItemArray.Count();
  1033         for(TInt i = 0; i < count ; i++)
  1041         for(TInt i = 0; i < count ; i++)