messagingfw/msgsrvnstore/server/src/msvsearchsortcachemanager.cpp
branchRCL_3
changeset 23 d51193d814ea
parent 22 d2c4c66342f3
equal deleted inserted replaced
22:d2c4c66342f3 23:d51193d814ea
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
  1018 				}
  1018 				}
  1019 			else
  1019 			else
  1020 				{
  1020 				{
  1021 				for(TInt ii =0; ii<iSearchSortDeltaCache->iNewEntry.Count(); ii++ )
  1021 				for(TInt ii =0; ii<iSearchSortDeltaCache->iNewEntry.Count(); ii++ )
  1022 					{
  1022 					{
  1023 					iDeltaCacheIdArray.AppendL(iSearchSortDeltaCache->iNewEntry[ii]);
  1023 					iDeltaCacheIdArray.Append(iSearchSortDeltaCache->iNewEntry[ii]);
  1024 					}
  1024 					}
  1025 			
  1025 			
  1026 				for(TInt ii =0; ii<iSearchSortDeltaCache->iUpdateEntry.Count(); ii++ )
  1026 				for(TInt ii =0; ii<iSearchSortDeltaCache->iUpdateEntry.Count(); ii++ )
  1027 					{
  1027 					{
  1028 					iDeltaCacheIdArray.AppendL(iSearchSortDeltaCache->iUpdateEntry[ii]);
  1028 					iDeltaCacheIdArray.Append(iSearchSortDeltaCache->iUpdateEntry[ii]);
  1029 					}
  1029 					}
  1030 				iReturnResultType = KPartialResult;
  1030 				iReturnResultType = KPartialResult;
  1031 				iProgress = KMsvSearchSortOpInProgress;  
  1031 				iProgress = KMsvSearchSortOpInProgress;  
  1032 				// Partial Query and it is Repetetive  an header and body.
  1032 				// Partial Query and it is Repetetive  an header and body.
  1033 				iSearchSortDeltaCache->iIsHeaderSearchEnabled = ETrue;  
  1033 				iSearchSortDeltaCache->iIsHeaderSearchEnabled = ETrue;