equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-2010 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". |
51 NONSHARABLE_CLASS (CMsvEntryFreePool): public CBase |
51 NONSHARABLE_CLASS (CMsvEntryFreePool): public CBase |
52 { |
52 { |
53 public: |
53 public: |
54 static CMsvEntryFreePool* Instance(); |
54 static CMsvEntryFreePool* Instance(); |
55 CMsvCacheEntry* EntryL(); |
55 CMsvCacheEntry* EntryL(); |
56 void ReleaseEntry(CMsvCacheEntry* aMsvCacheEntry, TBool aBypassTransaction = EFalse); |
56 void ReleaseEntryL(CMsvCacheEntry* aMsvCacheEntry, TBool aBypassTransaction = EFalse); |
57 void ReleaseEntrySet(RPointerArray<CMsvCacheEntry>& aMsvCacheEntryArray); |
57 void ReleaseEntrySet(RPointerArray<CMsvCacheEntry>& aMsvCacheEntryArray); |
58 void DoReleaseEntrySetL(RPointerArray<CMsvCacheEntry>& aMsvCacheEntryArray); |
58 void DoReleaseEntrySetL(RPointerArray<CMsvCacheEntry>& aMsvCacheEntryArray); |
59 void SetEssentialParam(TDblQue<CMsvCacheVisibleFolder>* aEntryCache, CMsvIndexAdapter* aAdapterObj); |
59 void SetEssentialParam(TDblQue<CMsvCacheVisibleFolder>* aEntryCache, CMsvIndexAdapter* aAdapterObj); |
60 inline void BeginTransaction(); |
60 inline void BeginTransaction(); |
61 void RollbackTransaction(); |
61 void RollbackTransaction(); |