diff -r 0930554dc389 -r 3b03c28289e6 qtinternetradio/ui/inc/irplaycontroller.h --- a/qtinternetradio/ui/inc/irplaycontroller.h Thu May 27 12:46:34 2010 +0300 +++ b/qtinternetradio/ui/inc/irplaycontroller.h Fri Jun 11 13:30:40 2010 +0300 @@ -37,6 +37,11 @@ { Q_OBJECT + +public slots: + // slots connected with own functions + void cancelBuffering(); + public: explicit IRPlayController(IRApplication* aApplication); ~IRPlayController(); @@ -95,8 +100,7 @@ void fetchVolume(int &aVolume); void handleMetaDataReceived(IRQMetaData& aIRmetaData); - // slots connected with own functions - void cancelBuffering(); + // slots connected with own functions void handleError(); private: @@ -120,6 +124,8 @@ bool iGetServerResult; IRQPreset *iNowPlayingPreset; + //reserve the info in nowplay view + IRQPreset *iNowPlayingPresetBackup; // reference of IRQMediaPlayer meta data IRQMetaData *iMetaData; IRQSongHistoryEngine *iSongHistoryEngine; @@ -157,6 +163,8 @@ // the bitrate from real station feedback. int iRealBitrate; QString iLastPlayedUrl; + //reserve the info in nowplay view + QString iLastPlayedUrlBackup; // To handle error async IRQError iLastError;