diff -r e78d6e055a5b -r b34d53f6acdf contentstorage/castorage/inc/casqlitestorage.h --- a/contentstorage/castorage/inc/casqlitestorage.h Fri Jul 23 14:03:00 2010 +0300 +++ b/contentstorage/castorage/inc/casqlitestorage.h Fri Aug 06 13:40:46 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& 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.