43 ~IRPlayController(); |
42 ~IRPlayController(); |
44 |
43 |
45 // Play a station |
44 // Play a station |
46 void connectToChannel(IRQPreset *aPreset, IRQConnectedFrom aConnectedFrom); |
45 void connectToChannel(IRQPreset *aPreset, IRQConnectedFrom aConnectedFrom); |
47 |
46 |
48 // Create a buffering dialog |
|
49 void createBufferingDialog(const QObject *aReceiver, const char *aFunc); |
|
50 |
|
51 // Close the buffering dialog |
|
52 void closeBufferingDialog(); |
|
53 |
|
54 // Play control methods |
47 // Play control methods |
55 void resume(); |
48 void resume(); |
56 void stop(IRQTerminatedType aStopReason); |
49 void stop(IRQTerminatedType aStopReason); |
57 int getVolume() const; |
50 int getVolume() const; |
58 void setVolume(int aVolume); |
51 void setVolume(int aVolume); |
59 void enableStereo(); |
|
60 void disableStereo(); |
|
61 |
52 |
62 // Check the playing status |
53 // Check the playing status |
63 bool isPlaying() const; |
54 bool isPlaying() const; |
64 |
55 |
65 // Check the playing status |
56 // Check the stopped status |
66 bool isStopped() const; |
57 bool isStopped() const; |
67 |
58 |
|
59 // Check the idle status |
|
60 bool isIdle() const; |
|
61 |
68 // Get the preset of now playing |
62 // Get the preset of now playing |
69 IRQPreset * getNowPlayingPreset() const; |
63 IRQPreset * getNowPlayingPreset() const; |
70 |
64 |
71 QString getNowPlayingUrl() const; |
65 QString getNowPlayingUrl() const; |
72 int getNowPlayingBitRate() const; |
66 int getNowPlayingBitRate() const; |
123 |
117 |
124 IRQStatisticsReporter *iStatisticsReporter; |
118 IRQStatisticsReporter *iStatisticsReporter; |
125 IRQConnectedFrom iConnectedFrom; |
119 IRQConnectedFrom iConnectedFrom; |
126 bool iGetServerResult; |
120 bool iGetServerResult; |
127 |
121 |
128 HbProgressDialog *iBufferingDialog; |
|
129 IRQPreset *iNowPlayingPreset; |
122 IRQPreset *iNowPlayingPreset; |
130 // reference of IRQMediaPlayer meta data |
123 // reference of IRQMediaPlayer meta data |
131 IRQMetaData *iMetaData; |
124 IRQMetaData *iMetaData; |
132 IRQSongHistoryEngine *iSongHistoryEngine; |
125 IRQSongHistoryEngine *iSongHistoryEngine; |
133 |
126 |