contextframework/cfw/src/cfscriptengine/cfpersistentdata.cpp
changeset 76 f5642d05cce0
parent 0 2e3d3ce01487
equal deleted inserted replaced
69:dcd4152cfe55 76:f5642d05cce0
     1 /*
     1 /*
     2 * Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   181 //
   181 //
   182 void CCFPersistentData::ProcessPendingTasksL()
   182 void CCFPersistentData::ProcessPendingTasksL()
   183     {
   183     {
   184     FUNC_LOG;
   184     FUNC_LOG;
   185     
   185     
   186     for (TInt i = iPendingTasks.Count(); i > 0; i--)
   186     for (TInt i = iPendingTasks.Count()-1; i >= 0; i--)
   187     	{
   187     	{
   188     	CCFPendingPersistencyTask* iTask = iPendingTasks[i];
   188     	CCFPendingPersistencyTask* iTask = iPendingTasks[i];
   189     	if ( iTask->Mode() == CCFPendingPersistencyTask::EStore )
   189     	if ( iTask->Mode() == CCFPendingPersistencyTask::EStore )
   190     		{
   190     		{
   191     		DoStoreL( iTask->FileName(), iTask->Operation()  );
   191     		DoStoreL( iTask->FileName(), iTask->Operation()  );