layouts/cdl/CdlEngine/src/CCdlEngine.cpp
branchRCL_3
changeset 24 e4e3998ddda2
parent 10 08459e712984
child 25 9f95a5546443
equal deleted inserted replaced
23:9dbe1b043bea 24:e4e3998ddda2
   323 	CCdlRefs* state = CCdlRefs::NewLC();
   323 	CCdlRefs* state = CCdlRefs::NewLC();
   324 	TInt count = aCdlUids.Count();
   324 	TInt count = aCdlUids.Count();
   325 	for (TInt ii=0; ii<count; ii++)
   325 	for (TInt ii=0; ii<count; ii++)
   326 		{
   326 		{
   327 		TUid uid = aCdlUids[ii];
   327 		TUid uid = aCdlUids[ii];
   328 		AddLocalStateToRefsL(uid, state);
   328 		AddLocalStateToRefs(uid, state);
   329 		}
   329 		}
   330 	return state;
   330 	return state;
   331 	}
   331 	}
   332 
   332 
   333 void CCdlEngine::AddLocalStateToRefsL(TUid aUid, CCdlRefs* aState) const
   333 void CCdlEngine::AddLocalStateToRefs(TUid aUid, CCdlRefs* aState) const
   334 	{
   334 	{
   335 	CCdlCustomisationStack* stack = Lookup(aUid);
   335 	CCdlCustomisationStack* stack = Lookup(aUid);
   336 	if (stack)
   336 	if (stack)
   337 		{
   337 		{
   338 		const CCdlCustomisationStack::CStack& insts = stack->Stack();
   338 		const CCdlCustomisationStack::CStack& insts = stack->Stack();