--- a/contentstorage/castorage/inc/casqlitestorage.h Tue Jul 06 14:37:10 2010 +0300
+++ b/contentstorage/castorage/inc/casqlitestorage.h Wed Aug 18 10:05:49 2010 +0300
@@ -66,6 +66,18 @@
* Loads data base from rom.
*/
void LoadDataBaseFromRomL();
+
+ //from CCpStorage
+ /**
+ * Saves a copy of database to private.
+ */
+ void SaveDatabaseL();
+
+ //from CCpStorage
+ /**
+ * Restores a copy of database from backup to private.
+ */
+ void RestoreDatabaseL();
/**
* Localizes one entry attribute.
@@ -161,8 +173,9 @@
/**
* Add ifno launch to db.
* @param aEntryId.
+ * @param aRemovable.
*/
- void TouchL( const TInt aEntryId );
+ void TouchL( const TInt aEntryId, TBool aRemovable );
/**
* Get database property from db.
@@ -224,7 +237,7 @@
void ExecuteOrganizeL( const RArray<TInt>& aEntryIds,
TCaOperationParams aParams );
- void ExecuteTouchL( const TInt aEntryId );
+ void ExecuteTouchL( const TInt aEntryId, TBool aRemovable );
void ExecuteDbPropertyL( const TDesC& aProperty, TDes& aPropertyValue );
@@ -270,6 +283,11 @@
* Private path on C-drive.
*/
TFileName iPrivatePathCDrive;
+
+ /**
+ * Private path on C-drive for backup db.
+ */
+ TFileName iPrivatePathCDriveDbBackup;
/**
* RFs session.