qtinternetradio/irqsonghistory/inc/irqsonghistoryengine.h
changeset 5 0930554dc389
parent 0 09774dfdd46b
child 8 3b03c28289e6
equal deleted inserted replaced
3:ee64f059b8e1 5:0930554dc389
    63     /**
    63     /**
    64     * Called by the UI when a particular channel has been changed in the ISDS.
    64     * Called by the UI when a particular channel has been changed in the ISDS.
    65     */
    65     */
    66 
    66 
    67     IMPORT_C void updateSongHistoryDb(int aChannelId,
    67     IMPORT_C void updateSongHistoryDb(int aChannelId,
    68                                       const QString& aChannelName,
    68             const QString& aChannelName, const QString& aChannelUrl,
    69                                       const QString& aChannelUrl,
    69             const QString& aImageUrl, const QString& aGenreName,
    70                                       const QString& aImageUrl,
    70             const QString& aCountryName, const QString& aLanguageName,
    71                                       const QString& aMusicFlag);
    71             const QString& aMusicFlag);
    72 
    72 
    73     /**
    73     /**
    74     * Connected with play controller with the song name changed.
    74     * Connected with play controller with the song name changed.
    75     * @param    aMetaData   The meta data contains song name, artist and bitrate.
    75     * @param    aMetaData   The meta data contains song name, artist and bitrate.
    76     * @param    aPreset     The preset contains other information.
    76     * @param    aPreset     The preset contains other information.
    86     /*
    86     /*
    87      * delete one item from the station history db
    87      * delete one item from the station history db
    88      * @param   aIndex    the index of the item need deleted
    88      * @param   aIndex    the index of the item need deleted
    89      */
    89      */
    90     IMPORT_C bool deleteOneItem(int aIndex);
    90     IMPORT_C bool deleteOneItem(int aIndex);
       
    91 
       
    92     /*
       
    93      * delete one item from the song history db
       
    94      * @param   aIndex    the index of the item need deleted
       
    95      */
       
    96     IMPORT_C bool deleteOneSongHistoryItem(int aIndex);
    91 
    97 
    92 private:
    98 private:
    93 
    99 
    94     enum TSongHistoryItemChange
   100     enum TSongHistoryItemChange
    95     {
   101     {