phonebookui/Phonebook2/ServerApplication/src/CPbk2ServerAppStoreManager.cpp
branchRCL_3
changeset 68 9da50d567e3c
parent 63 f4a778e096c2
child 85 38bb213f60ba
equal deleted inserted replaced
63:f4a778e096c2 68:9da50d567e3c
   217                 
   217                 
   218         result = viewBuilder->CreateGroupViewForStoresLC
   218         result = viewBuilder->CreateGroupViewForStoresLC
   219             ( aStoreUris, *this, *sortOrder,
   219             ( aStoreUris, *this, *sortOrder,
   220               aViewFilter, aFlags );
   220               aViewFilter, aFlags );
   221         
   221         
       
   222         iGroupView = result;
       
   223         
   222         CleanupStack::Pop(); // result
   224         CleanupStack::Pop(); // result
   223         }
   225         }
   224 
   226 
   225     CleanupStack::PopAndDestroy(); // viewBuilder
   227     CleanupStack::PopAndDestroy(); // viewBuilder
   226 
   228 
   344 // --------------------------------------------------------------------------
   346 // --------------------------------------------------------------------------
   345 // CPbk2ServerAppStoreManager::ContactAddedToView
   347 // CPbk2ServerAppStoreManager::ContactAddedToView
   346 // --------------------------------------------------------------------------
   348 // --------------------------------------------------------------------------
   347 //
   349 //
   348 void CPbk2ServerAppStoreManager::ContactAddedToView
   350 void CPbk2ServerAppStoreManager::ContactAddedToView
   349         ( MVPbkContactViewBase& /*aView*/, TInt /*aIndex*/,
   351         ( MVPbkContactViewBase& aView, TInt /*aIndex*/,
   350           const MVPbkContactLink& /*aContactLink*/ )
   352           const MVPbkContactLink& /*aContactLink*/ )
   351     {
   353     {
   352     // Do nothing
   354     if ( iGroupView && aView.Type() == EVPbkContactsView )
       
   355         {
       
   356         iGroupView->RefreshL();
       
   357         }    
   353     }
   358     }
   354 
   359 
   355 // --------------------------------------------------------------------------
   360 // --------------------------------------------------------------------------
   356 // CPbk2ServerAppStoreManager::ContactRemovedFromView
   361 // CPbk2ServerAppStoreManager::ContactRemovedFromView
   357 // --------------------------------------------------------------------------
   362 // --------------------------------------------------------------------------
   358 //
   363 //
   359 void CPbk2ServerAppStoreManager::ContactRemovedFromView
   364 void CPbk2ServerAppStoreManager::ContactRemovedFromView
   360         ( MVPbkContactViewBase& /*aView*/, TInt /*aIndex*/,
   365         ( MVPbkContactViewBase& aView, TInt /*aIndex*/,
   361           const MVPbkContactLink& /*aContactLink*/ )
   366           const MVPbkContactLink& /*aContactLink*/ )
   362     {
   367     {
   363     // Do nothing
   368         if ( iGroupView && aView.Type() == EVPbkContactsView )
       
   369             {
       
   370             iGroupView->RefreshL();
       
   371             }
   364     }
   372     }
   365 
   373 
   366 // --------------------------------------------------------------------------
   374 // --------------------------------------------------------------------------
   367 // CPbk2ServerAppStoreManager::ContactViewError
   375 // CPbk2ServerAppStoreManager::ContactViewError
   368 // --------------------------------------------------------------------------
   376 // --------------------------------------------------------------------------