contentstorage/castorage/inc/casqlitestorage.h
changeset 107 b34d53f6acdf
parent 98 d2f833ab7940
child 127 7b66bc3c6dc9
equal deleted inserted replaced
106:e78d6e055a5b 107:b34d53f6acdf
    64     //from CCpStorage
    64     //from CCpStorage
    65     /**
    65     /**
    66      * Loads data base from rom.
    66      * Loads data base from rom.
    67      */
    67      */
    68     void LoadDataBaseFromRomL();
    68     void LoadDataBaseFromRomL();
       
    69     
       
    70     //from CCpStorage
       
    71     /**
       
    72      * Saves a copy of database to private.
       
    73      */
       
    74     void SaveDatabaseL();
       
    75 
       
    76     //from CCpStorage
       
    77     /**
       
    78      * Restores a copy of database from backup to private.
       
    79      */
       
    80     void RestoreDatabaseL();
    69 
    81 
    70     /**
    82     /**
    71      * Localizes one entry attribute.
    83      * Localizes one entry attribute.
    72      *
    84      *
    73      * @param aLocalization Localization information.
    85      * @param aLocalization Localization information.
   159             TCaOperationParams aParams );
   171             TCaOperationParams aParams );
   160 
   172 
   161     /**
   173     /**
   162      * Add ifno launch to db.
   174      * Add ifno launch to db.
   163      * @param aEntryId.
   175      * @param aEntryId.
   164      */
   176      * @param aRemovable.
   165     void TouchL( const TInt aEntryId );
   177      */
       
   178     void TouchL( const TInt aEntryId, TBool aRemovable );
   166 
   179 
   167     /**
   180     /**
   168      * Get database property from db.
   181      * Get database property from db.
   169      *
   182      *
   170      * @param aProperty The property to get.
   183      * @param aProperty The property to get.
   222     void ExecuteRemoveFromLocalizationL( const TInt aEntryId );
   235     void ExecuteRemoveFromLocalizationL( const TInt aEntryId );
   223 
   236 
   224     void ExecuteOrganizeL( const RArray<TInt>& aEntryIds,
   237     void ExecuteOrganizeL( const RArray<TInt>& aEntryIds,
   225             TCaOperationParams aParams );
   238             TCaOperationParams aParams );
   226 
   239 
   227     void ExecuteTouchL( const TInt aEntryId );
   240     void ExecuteTouchL( const TInt aEntryId, TBool aRemovable );
   228 
   241 
   229     void ExecuteDbPropertyL( const TDesC& aProperty, TDes& aPropertyValue );
   242     void ExecuteDbPropertyL( const TDesC& aProperty, TDes& aPropertyValue );
   230 
   243 
   231     void ExecuteSetDbPropertyL( const TDesC& aProperty,
   244     void ExecuteSetDbPropertyL( const TDesC& aProperty,
   232             const TDesC& aPropertyValue );
   245             const TDesC& aPropertyValue );
   268 
   281 
   269     /**
   282     /**
   270      * Private path on C-drive.
   283      * Private path on C-drive.
   271      */
   284      */
   272     TFileName iPrivatePathCDrive;
   285     TFileName iPrivatePathCDrive;
       
   286     
       
   287     /**
       
   288      * Private path on C-drive for backup db.
       
   289      */
       
   290     TFileName iPrivatePathCDriveDbBackup;
   273 
   291 
   274     /**
   292     /**
   275      * RFs session.
   293      * RFs session.
   276      */
   294      */
   277     RFs iRfs;
   295     RFs iRfs;