diff -r 989d2f495d90 -r fc9cf246af83 serviceproviders/sapi_contacts_vpbk/contactservice/src/contactsynccallback.cpp --- a/serviceproviders/sapi_contacts_vpbk/contactservice/src/contactsynccallback.cpp Fri Jul 03 15:51:24 2009 +0100 +++ b/serviceproviders/sapi_contacts_vpbk/contactservice/src/contactsynccallback.cpp Thu Aug 27 07:43:07 2009 +0300 @@ -126,3 +126,41 @@ //can be CActiveScheduler::Stop(); or to be replaced by wait scheduler. iWaitScheduler->AsyncStop(); } + + + void CContactSyncCallback :: HandleReturnId(const TInt& /*aError*/,HBufC8* acntId , TInt /*aTransId*/ ) + { + icntId = acntId; + + iWaitScheduler->AsyncStop(); + } + + + HBufC8* CContactSyncCallback :: GetId() + { + return icntId; + } + + void CContactSyncCallback :: HandleReturnArray( const TInt& /*aError*/, RPointerArray& idArray, TInt /*aTransId*/ ) + { + //iIDArray = idArray; + for(TInt i = 0; iAllocL(); + iIDArray.AppendL(idBufVal); + } + //can be CActiveScheduler::Stop(); or to be replaced by wait scheduler. + iWaitScheduler->AsyncStop(); + } + +void CContactSyncCallback::GetArray(RPointerArray* aArray) + { + for(TInt i = 0; iAllocL(); + aArray->AppendL(idBufVal); + delete idVal; + } + }