337 aMessage.Complete( KErrNone ); |
337 aMessage.Complete( KErrNone ); |
338 |
338 |
339 const TLiwGenericParam* param = NULL; |
339 const TLiwGenericParam* param = NULL; |
340 TInt pos(0); |
340 TInt pos(0); |
341 param = genericList->FindFirst(pos, KFilters); |
341 param = genericList->FindFirst(pos, KFilters); |
342 const CLiwList* maps = param->Value().AsList(); |
342 if( param && pos!= KErrNotFound ) |
343 CLiwDefaultList* cpMaps = CheckValidityLC(maps); |
343 { |
344 //execute actions |
344 const CLiwList* maps = param->Value().AsList(); |
345 for (TInt i = 0; i < cpMaps->Count(); i++) |
345 CLiwDefaultList* cpMaps = CheckValidityLC(maps); |
346 { |
346 //execute actions |
347 TLiwVariant mapVariant; |
347 for (TInt i = 0; i < cpMaps->Count(); i++) |
348 mapVariant.PushL(); |
348 { |
349 cpMaps->AtL(i, mapVariant); |
349 TLiwVariant mapVariant; |
350 const CCPLiwMap* map = |
350 mapVariant.PushL(); |
351 static_cast<const CCPLiwMap*> (mapVariant.AsMap()); |
351 cpMaps->AtL(i, mapVariant); |
352 TRAP_IGNORE(ExecuteActionL(map, ETrue, options)); |
352 const CCPLiwMap* map = |
353 CleanupStack::PopAndDestroy(&mapVariant); |
353 static_cast<const CCPLiwMap*> (mapVariant.AsMap()); |
354 } |
354 TRAP_IGNORE(ExecuteActionL(map, ETrue, options)); |
355 |
355 CleanupStack::PopAndDestroy(&mapVariant); |
356 CleanupStack::PopAndDestroy(cpMaps); |
356 } |
|
357 CleanupStack::PopAndDestroy(cpMaps); |
|
358 } |
357 CleanupStack::PopAndDestroy(genericList); |
359 CleanupStack::PopAndDestroy(genericList); |
358 } |
360 } |
359 |
361 |
360 // ----------------------------------------------------------------------------- |
362 // ----------------------------------------------------------------------------- |
361 // CCPServerSession::ExecuteL |
363 // CCPServerSession::ExecuteL |