qtinternetradio/irqsonghistory/inc/irqsonghistoryinfo.h
branchGCC_SURGE
changeset 13 c9471d26c7f2
parent 8 3b03c28289e6
equal deleted inserted replaced
9:bfc95e24a059 13:c9471d26c7f2
    76     *IRQSongHistoryInfo::getImageURL()
    76     *IRQSongHistoryInfo::getImageURL()
    77     *Function to get channel image URL
    77     *Function to get channel image URL
    78     *@return QString& instance
    78     *@return QString& instance
    79     */
    79     */
    80     IMPORT_C const QString& getImageUrl() const;
    80     IMPORT_C const QString& getImageUrl() const;
       
    81     /**
       
    82     *IRQSongHistoryInfo::getGenreName()
       
    83     *Function to get channel genre name
       
    84     *@return QString& instance
       
    85     */
       
    86     IMPORT_C const QString& getGenreName() const;
       
    87     /**
       
    88     *IRQSongHistoryInfo::getCountryName()
       
    89     *Function to get channel country Name
       
    90     *@return QString& instance
       
    91     */
       
    92     IMPORT_C const QString& getCountryName() const;
       
    93     /**
       
    94     *IRQSongHistoryInfo::getLanguageName()
       
    95     *Function to get channel language name
       
    96     *@return QString& instance
       
    97     */
       
    98     IMPORT_C const QString& getLanguageName() const;
    81 
    99 
    82     /**
   100     /**
    83     *IRQSongHistoryInfo::getMusicStoreStatus()
   101     *IRQSongHistoryInfo::getMusicStoreStatus()
    84     *Function to get channel MusicStoreStatus
   102     *Function to get channel MusicStoreStatus
    85     *@return QString& instance
   103     *@return QString& instance
   115                         const QString& aSongName,
   133                         const QString& aSongName,
   116                         const QString& aStreamUrl,
   134                         const QString& aStreamUrl,
   117                         const QString& aChannelName,
   135                         const QString& aChannelName,
   118                         const QString& aChannelDesc,
   136                         const QString& aChannelDesc,
   119                         const QString& aImageUrl,
   137                         const QString& aImageUrl,
       
   138                         const QString& aGenreName,
       
   139                         const QString& aCountryName,
       
   140                         const QString& aLanguageName,                        
   120                         const QString& aMusicStoreStatus, 
   141                         const QString& aMusicStoreStatus, 
   121                         int aChannelType,
   142                         int aChannelType,
   122                         int aChannelId,
   143                         int aChannelId,
   123                         int aBitrate);
   144                         int aBitrate);
   124 
   145 
   161     *IRQSongHistoryInfo::setImageURL()
   182     *IRQSongHistoryInfo::setImageURL()
   162     *Function to set channel image URL
   183     *Function to set channel image URL
   163     * @param QString aImageUrl
   184     * @param QString aImageUrl
   164     */
   185     */
   165     void setImageUrl(const QString& aImageUrl);
   186     void setImageUrl(const QString& aImageUrl);
       
   187     
       
   188     /**
       
   189     *IRQSongHistoryInfo::setGenreName()
       
   190     *Function to set channel genre name
       
   191     * @param QString aGenreName
       
   192     */
       
   193     void setGenreName(const QString& aGenreName);
       
   194         
       
   195     /**
       
   196     *IRQSongHistoryInfo::setCountryName()
       
   197     *Function to set channel country name
       
   198     * @param QString aCountryName
       
   199     */
       
   200     void setCountryName(const QString& aCountryName);
       
   201     
       
   202     /**
       
   203     *IRQSongHistoryInfo::setLanguageName()
       
   204     *Function to set channel language name
       
   205     * @param QString aLanguageName
       
   206     */
       
   207     void setLanguageName(const QString& aLanguageName);
   166 
   208 
   167     /**
   209     /**
   168     *IRQSongHistoryInfo::setMusicStoreStatus()
   210     *IRQSongHistoryInfo::setMusicStoreStatus()
   169     *Function to set Channel MusicStoreStatus
   211     *Function to set Channel MusicStoreStatus
   170     *@param QString aMusicStoreStatus
   212     *@param QString aMusicStoreStatus
   221 
   263 
   222     /**
   264     /**
   223      * Channel's image Url.
   265      * Channel's image Url.
   224      */
   266      */
   225     QString iImageUrl;
   267     QString iImageUrl;
   226 
   268     QString iGenreName;
       
   269     QString iCountryName;
       
   270     QString iLanguageName;
   227     /**
   271     /**
   228      * Channel's MusicStoreStatus.
   272      * Channel's MusicStoreStatus.
   229      */
   273      */
   230     QString iMusicStoreStatus;
   274     QString iMusicStoreStatus;
   231 
   275 
   253     IMPORT_C void setSongName(const QString& aName);
   297     IMPORT_C void setSongName(const QString& aName);
   254     IMPORT_C const QString& getSongName() const;
   298     IMPORT_C const QString& getSongName() const;
   255     
   299     
   256     IMPORT_C void setArtistName(const QString& aArtist);
   300     IMPORT_C void setArtistName(const QString& aArtist);
   257     IMPORT_C const QString& getArtistName()const;
   301     IMPORT_C const QString& getArtistName()const;
   258     
   302 
       
   303     IMPORT_C void setStationName(const QString& aStationName);
       
   304     IMPORT_C const QString& getStationName()const;
       
   305 
   259     IMPORT_C void setMusicshopStatus(const QString& aStatus);
   306     IMPORT_C void setMusicshopStatus(const QString& aStatus);
   260     IMPORT_C const QString& getMusicshopStatus()const;
   307     IMPORT_C const QString& getMusicshopStatus()const;
   261     
   308     
   262     IMPORT_C void setAllInfo(const QString& aName, const QString& aArtist, const QString& aStatus);
   309     IMPORT_C void setAllInfo(const QString& aName, const QString& aArtist, const QString& aStationName, const QString& aStatus);
   263     
   310     
   264 private:
   311 private:
   265     
   312     
   266     QString iSongName;
   313     QString iSongName;
   267     QString iSongArtist;
   314     QString iSongArtist;
       
   315     QString iStationName;
   268     QString iMusicshopStatus;
   316     QString iMusicshopStatus;
   269 
   317 
   270 };
   318 };
   271 #endif // IRQSONGHISTORYINFO_H_
   319 #endif // IRQSONGHISTORYINFO_H_