application/inc/PodcastShowsView.h
branch3rded
changeset 390 d7abecc9d189
parent 343 9c56bf585696
equal deleted inserted replaced
345:702ba9ffe210 390:d7abecc9d189
    26 #include "FeedEngine.h"
    26 #include "FeedEngine.h"
    27 #include "PodcastModel.h"
    27 #include "PodcastModel.h"
    28 #include "Podcast.hrh"
    28 #include "Podcast.hrh"
    29 #include "PodcastListView.h"
    29 #include "PodcastListView.h"
    30 
    30 
    31 class CPodcastShowsView : public CPodcastListView, public MEikListBoxObserver, 
    31 class CPodcastShowsView : public CPodcastListView, 
    32 	public MFeedEngineObserver, public MShowEngineObserver
    32 	public MFeedEngineObserver, public MShowEngineObserver
    33 	{
    33 	{
    34 public: 
    34 public: 
    35 	static CPodcastShowsView* NewL(CPodcastModel& aPodcastModel);
    35 	static CPodcastShowsView* NewL(CPodcastModel& aPodcastModel);
    36 	static CPodcastShowsView* NewLC(CPodcastModel& aPodcastModel);
    36 	static CPodcastShowsView* NewLC(CPodcastModel& aPodcastModel);
   102 	void ImageOperationCompleteL(TInt /* aError */, TUint /* aHandle */, CPodcastModel& /* aPodcastModel */) {}
   102 	void ImageOperationCompleteL(TInt /* aError */, TUint /* aHandle */, CPodcastModel& /* aPodcastModel */) {}
   103 	void HandleSetShowPlayed(TBool aPlayed);
   103 	void HandleSetShowPlayed(TBool aPlayed);
   104 	void HandleDeleteShow();
   104 	void HandleDeleteShow();
   105 	void UpdateViewTitleL();
   105 	void UpdateViewTitleL();
   106 	void GetShowErrorText(TDes &aErrorMessage, TInt aErrorCode);
   106 	void GetShowErrorText(TDes &aErrorMessage, TInt aErrorCode);
   107 
   107 	void HandleDownloadAllL();
       
   108 	
   108 protected:
   109 protected:
   109 	
   110 	
   110 	CPodcastModel& iPodcastModel;
   111 	CPodcastModel& iPodcastModel;
   111 	TBool iProgressAdded;	
   112 	TBool iProgressAdded;	
   112 	TInt iLastImageHandlerError;
   113 	TInt iLastImageHandlerError;
   113 	TBool iSetTitlebarImage;
   114 	TBool iSetTitlebarImage;
       
   115 	TBool iShowNewShows;
   114 	};
   116 	};
   115 
   117 
   116 #endif // PODCASTSHOWSVIEWH
   118 #endif // PODCASTSHOWSVIEWH
   117 
   119 
   118 
   120