mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbhgplugin/inc/mpxdbabstractalbum.h
branchRCL_3
changeset 40 cb96c29156b2
parent 21 a1247965635c
equal deleted inserted replaced
31:a12246c97fcc 40:cb96c29156b2
   154         * Rename Thumbnail if aNewPath is not NULL, otherwise Delete Thumbnail
   154         * Rename Thumbnail if aNewPath is not NULL, otherwise Delete Thumbnail
   155         * @param aItemsIds: array of Ids for abstractalbums which have no song associated.
   155         * @param aItemsIds: array of Ids for abstractalbums which have no song associated.
   156         */
   156         */
   157         void GetAllItemsWithNoSongL(RArray<TUint32>& aItemsIds);
   157         void GetAllItemsWithNoSongL(RArray<TUint32>& aItemsIds);
   158 
   158 
       
   159         /**
       
   160         * Create Thumbnail Manager session.
       
   161         * Create Thumbnail Manager session when needed: rename/delete entries in Thumbnail table.
       
   162         */
       
   163         void CreateTNMSessionL();
       
   164         
       
   165         /**
       
   166         * Remove all abstractalbum items with no songs associated,
       
   167         * TN entry and .alb files also removed.
       
   168         *
       
   169         */
       
   170         void RemoveAbstractAlbumsWithNoSongL();
       
   171         
       
   172         /**
       
   173         /* When refresh library, Remove .alb entry from AbstractAlnum table, TN table if .alb files already deleted 
       
   174         /* from file system via file manager.
       
   175         */
       
   176         void AbstractAlbumCleanUpL();
       
   177        
   159     private:
   178     private:
   160 
   179 
   161 
   180 
   162         /**
   181         /**
   163         * Updates the media with information from the table
   182         * Updates the media with information from the table