261 // -------------------------------------------------------------------------- |
261 // -------------------------------------------------------------------------- |
262 // CPbk2AiwSelectionProvider::AcceptSelectionL |
262 // CPbk2AiwSelectionProvider::AcceptSelectionL |
263 // -------------------------------------------------------------------------- |
263 // -------------------------------------------------------------------------- |
264 // |
264 // |
265 TBool CPbk2AiwSelectionProvider::AcceptSelectionL |
265 TBool CPbk2AiwSelectionProvider::AcceptSelectionL |
266 ( TInt aNumberOfSelectedContacts, HBufC8& /*aContactLink*/ ) |
266 ( TInt aNumberOfSelectedContacts, HBufC8& aContactLink ) |
267 { |
267 { |
268 PBK2_DEBUG_PRINT( PBK2_DEBUG_STRING( |
268 PBK2_DEBUG_PRINT( PBK2_DEBUG_STRING( |
269 "CPbk2AiwSelectionProvider::AcceptSelectionL(0x%x)"), this ); |
269 "CPbk2AiwSelectionProvider::AcceptSelectionL(0x%x)"), this ); |
270 iEventParamList->Reset(); |
270 iEventParamList->Reset(); |
271 iEventParamList->AppendL( |
271 iEventParamList->AppendL( |
272 TAiwGenericParam( EGenericParamSelectedCount, |
272 TAiwGenericParam( EGenericParamSelectedCount, |
273 TAiwVariant(aNumberOfSelectedContacts ) ) ); |
273 TAiwVariant(aNumberOfSelectedContacts ) ) ); |
|
274 iEventParamList->AppendL( |
|
275 TAiwGenericParam( EGenericParamContactLinkArray, |
|
276 TAiwVariant( aContactLink ) ) ); |
274 TBool acceptOutput = const_cast<MAiwNotifyCallback*>(iCallback)-> |
277 TBool acceptOutput = const_cast<MAiwNotifyCallback*>(iCallback)-> |
275 HandleNotifyL( KAiwCmdSelect, KAiwEventOutParamCheck, |
278 HandleNotifyL( KAiwCmdSelect, KAiwEventOutParamCheck, |
276 *iEventParamList, *iInParamList ); |
279 *iEventParamList, *iInParamList ); |
277 |
280 |
278 return acceptOutput; |
281 return acceptOutput; |