--- a/phonebookui/Phonebook2/ServerApplication/src/CPbk2ServerAppStoreManager.cpp Wed Sep 01 12:29:52 2010 +0100
+++ b/phonebookui/Phonebook2/ServerApplication/src/CPbk2ServerAppStoreManager.cpp Tue Sep 14 20:54:53 2010 +0300
@@ -219,6 +219,8 @@
( aStoreUris, *this, *sortOrder,
aViewFilter, aFlags );
+ iGroupView = result;
+
CleanupStack::Pop(); // result
}
@@ -346,10 +348,13 @@
// --------------------------------------------------------------------------
//
void CPbk2ServerAppStoreManager::ContactAddedToView
- ( MVPbkContactViewBase& /*aView*/, TInt /*aIndex*/,
+ ( MVPbkContactViewBase& aView, TInt /*aIndex*/,
const MVPbkContactLink& /*aContactLink*/ )
{
- // Do nothing
+ if ( iGroupView && aView.Type() == EVPbkContactsView )
+ {
+ iGroupView->RefreshL();
+ }
}
// --------------------------------------------------------------------------
@@ -357,10 +362,13 @@
// --------------------------------------------------------------------------
//
void CPbk2ServerAppStoreManager::ContactRemovedFromView
- ( MVPbkContactViewBase& /*aView*/, TInt /*aIndex*/,
+ ( MVPbkContactViewBase& aView, TInt /*aIndex*/,
const MVPbkContactLink& /*aContactLink*/ )
{
- // Do nothing
+ if ( iGroupView && aView.Type() == EVPbkContactsView )
+ {
+ iGroupView->RefreshL();
+ }
}
// --------------------------------------------------------------------------