application/inc/PodcastShowsView.h
branchnewlist
changeset 350 9c4fd008e20f
parent 347 b8d687bb7ca1
equal deleted inserted replaced
349:4538abb763e4 350:9c4fd008e20f
    28 #include "FeedEngine.h"
    28 #include "FeedEngine.h"
    29 #include "PodcastModel.h"
    29 #include "PodcastModel.h"
    30 #include "Podcast.hrh"
    30 #include "Podcast.hrh"
    31 #include "PodcastListView.h"
    31 #include "PodcastListView.h"
    32 
    32 
    33 class CPodcastShowsView : public CPodcastListView, public MEikListBoxObserver, 
    33 class CPodcastShowsView : public CPodcastListView, 
    34 	public MFeedEngineObserver, public MShowEngineObserver
    34 	public MFeedEngineObserver, public MShowEngineObserver
    35 	{
    35 	{
    36 public: 
    36 public: 
    37 	static CPodcastShowsView* NewL(CPodcastModel& aPodcastModel);
    37 	static CPodcastShowsView* NewL(CPodcastModel& aPodcastModel);
    38 	static CPodcastShowsView* NewLC(CPodcastModel& aPodcastModel);
    38 	static CPodcastShowsView* NewLC(CPodcastModel& aPodcastModel);
   107 	void ImageOperationCompleteL(TInt /* aError */, TUint /* aHandle */, CPodcastModel& /* aPodcastModel */) {}
   107 	void ImageOperationCompleteL(TInt /* aError */, TUint /* aHandle */, CPodcastModel& /* aPodcastModel */) {}
   108 	void HandleSetShowPlayed(TBool aPlayed);
   108 	void HandleSetShowPlayed(TBool aPlayed);
   109 	void HandleDeleteShow();
   109 	void HandleDeleteShow();
   110 	void UpdateViewTitleL();
   110 	void UpdateViewTitleL();
   111 	void GetShowErrorText(TDes &aErrorMessage, TInt aErrorCode);
   111 	void GetShowErrorText(TDes &aErrorMessage, TInt aErrorCode);
   112 
   112 	void HandleDownloadAllL();
       
   113 	
   113 protected:
   114 protected:
   114 	
   115 	
   115 	CPodcastModel& iPodcastModel;
   116 	CPodcastModel& iPodcastModel;
   116 	TBool iProgressAdded;	
   117 	TBool iProgressAdded;	
   117 	TInt iLastImageHandlerError;
   118 	TInt iLastImageHandlerError;