equal
deleted
inserted
replaced
232 return *iConnectionEngine; |
232 return *iConnectionEngine; |
233 } |
233 } |
234 |
234 |
235 EXPORT_C void CPodcastModel::PlayPausePodcastL(CShowInfo* aPodcast, TBool /* aPlayOnInit */) |
235 EXPORT_C void CPodcastModel::PlayPausePodcastL(CShowInfo* aPodcast, TBool /* aPlayOnInit */) |
236 { |
236 { |
|
237 DP("CPodcastModel::PlayPausePodcastL BEGIN"); |
237 TRAPD(err, LaunchFileEmbeddedL(aPodcast->FileName())); |
238 TRAPD(err, LaunchFileEmbeddedL(aPodcast->FileName())); |
238 |
239 |
239 if (err == KErrNone) |
240 if (err == KErrNone) |
240 { |
241 { |
241 aPodcast->SetPlayState(EPlayed); |
242 aPodcast->SetPlayState(EPlayed); |
242 iShowEngine->UpdateShowL(*aPodcast); |
243 iShowEngine->UpdateShowL(*aPodcast); |
243 } |
244 } |
244 |
245 else |
|
246 { |
|
247 User::Leave(err); |
|
248 } |
|
249 DP("CPodcastModel::PlayPausePodcastL END"); |
245 } |
250 } |
246 |
251 |
247 EXPORT_C CFeedInfo* CPodcastModel::ActiveFeedInfo() |
252 EXPORT_C CFeedInfo* CPodcastModel::ActiveFeedInfo() |
248 { |
253 { |
249 return iActiveFeed; |
254 return iActiveFeed; |