diff -r bfc95e24a059 -r c9471d26c7f2 qtinternetradio/irqsonghistory/inc/irqsonghistoryengine.h --- a/qtinternetradio/irqsonghistory/inc/irqsonghistoryengine.h Mon Jun 21 22:33:45 2010 +0100 +++ b/qtinternetradio/irqsonghistory/inc/irqsonghistoryengine.h Thu Jul 22 16:31:41 2010 +0100 @@ -65,10 +65,10 @@ */ IMPORT_C void updateSongHistoryDb(int aChannelId, - const QString& aChannelName, - const QString& aChannelUrl, - const QString& aImageUrl, - const QString& aMusicFlag); + const QString& aChannelName, const QString& aChannelUrl, + const QString& aImageUrl, const QString& aGenreName, + const QString& aCountryName, const QString& aLanguageName, + const QString& aMusicFlag); /** * Connected with play controller with the song name changed. @@ -81,7 +81,7 @@ * @param aMetaData The meta data contains song name, artist and bitrate. * @param aMusicshopStatus The music shop status of the song */ - IMPORT_C void handleSongMetaDataReceived(const IRQMetaData& aMetaData, QString& aMusicshopStatus); + IMPORT_C void handleSongMetaDataReceived(const IRQMetaData& aMetaData, const IRQPreset& preset); /* * delete one item from the station history db @@ -89,6 +89,12 @@ */ IMPORT_C bool deleteOneItem(int aIndex); + /* + * delete one item from the song history db + * @param aIndex the index of the item need deleted + */ + IMPORT_C bool deleteOneSongHistoryItem(int aIndex); + private: enum TSongHistoryItemChange @@ -122,7 +128,7 @@ void handleMetaDataReceivedL(const IRQMetaData& aMetaData, const IRQPreset& aPreset); void getAllHistoryL(QList& aSongHistoryArr); - void handleSongMetaDataReceivedL(const IRQMetaData& aMetaData, QString& aMusicshopStatus); + void handleSongMetaDataReceivedL(const IRQMetaData& aMetaData, const IRQPreset& aPreset); void getAllSongHistoryL(QList& aSongHistoryArr); private: