contentstorage/srvsrc/castorageproxy.cpp
changeset 107 b34d53f6acdf
parent 102 8b8b34fa9751
child 125 26079c1bb561
--- a/contentstorage/srvsrc/castorageproxy.cpp	Fri Jul 23 14:03:00 2010 +0300
+++ b/contentstorage/srvsrc/castorageproxy.cpp	Fri Aug 06 13:40:46 2010 +0300
@@ -273,7 +273,7 @@
     RPointerArray<CCaInnerEntry> resultArray;
     CleanupResetAndDestroyPushL( resultArray );
     iStorage->GetEntriesL( touchQuery, resultArray );
-    iStorage->TouchL( entryId );
+    iStorage->TouchL( entryId, aEntry->GetFlags() & ERemovable );
     for( TInt i = 0; i < iHandlerNotifier.Count(); i++ )
         {
         iHandlerNotifier[i]->EntryTouched( entryId );
@@ -371,13 +371,48 @@
     CleanupStack::PopAndDestroy( &parentArray );
     }
 
+// ---------------------------------------------------------------------------
+//
+// ---------------------------------------------------------------------------
+//
 #ifdef COVERAGE_MEASUREMENT
 #pragma CTC SKIP
 #endif //COVERAGE_MEASUREMENT (calls another method)
+
+EXPORT_C void CCaStorageProxy::SaveDatabaseL()
+    {
+    iStorage->SaveDatabaseL();
+    }
+#ifdef COVERAGE_MEASUREMENT
+#pragma CTC ENDSKIP
+#endif //COVERAGE_MEASUREMENT
+
+
 // ---------------------------------------------------------------------------
 //
 // ---------------------------------------------------------------------------
 //
+#ifdef COVERAGE_MEASUREMENT
+#pragma CTC SKIP
+#endif //COVERAGE_MEASUREMENT (calls another method)
+
+EXPORT_C void CCaStorageProxy::RestoreDatabaseL()
+    {
+    iStorage->RestoreDatabaseL();
+    }
+#ifdef COVERAGE_MEASUREMENT
+#pragma CTC ENDSKIP
+#endif //COVERAGE_MEASUREMENT
+
+
+// ---------------------------------------------------------------------------
+//
+// ---------------------------------------------------------------------------
+//
+#ifdef COVERAGE_MEASUREMENT
+#pragma CTC SKIP
+#endif //COVERAGE_MEASUREMENT (calls another method)
+
 EXPORT_C void CCaStorageProxy::LoadDataBaseFromRomL()
     {
     iStorage->LoadDataBaseFromRomL();