mpserviceplugins/mpxsqlitedbhgplugin/inc/mpxdbcategory.h
changeset 34 2c5162224003
parent 22 ecf06a08d4d9
child 51 560ce2306a17
equal deleted inserted replaced
22:ecf06a08d4d9 34:2c5162224003
   174         * @param aId identifies the category item
   174         * @param aId identifies the category item
   175         * @return value of the CountSongs field.
   175         * @return value of the CountSongs field.
   176         */
   176         */
   177         TInt GetSongsCountL(TInt aDriveId, TUint32 aId);
   177         TInt GetSongsCountL(TInt aDriveId, TUint32 aId);
   178 
   178 
   179 		/**
   179         /**
   180 	    * Update a category item. 
   180         * Update a category item.
   181 	    * @param aId: The ID of the category to update
   181         * @param aId: The ID of the category to update
   182 	    * @param aMedia: The media data
   182         * @param aMedia: The media data
   183 	    * @param aDriveId: The Drive Id the name (category) belongs
   183         * @param aDriveId: The Drive Id the name (category) belongs
   184 	    * @param aItemChangedMessages: if valid on return contains a updated message if the
   184         * @param aItemChangedMessages: if valid on return contains a updated message if the
   185         * category was updated
   185         * category was updated
   186         */
   186         */
   187 		void UpdateItemL(TUint32 aId, const CMPXMedia& aMedia, TInt aDriveId, CMPXMessageArray* aItemChangedMessages);
   187         void UpdateItemL(TUint32 aId, const CMPXMedia& aMedia, TInt aDriveId, CMPXMessageArray* aItemChangedMessages);
   188 		
   188 
   189     protected:
   189     protected:
   190 
   190 
   191         /**
   191         /**
   192         * Updates the media with information from the table
   192         * Updates the media with information from the table
   193         * @param aRecord record containing the source fields
   193         * @param aRecord record containing the source fields