application/inc/PodcastShowsView.h
branchsymbian1
changeset 356 697e27864f3a
parent 350 9c4fd008e20f
equal deleted inserted replaced
346:a0eb6aaed052 356:697e27864f3a
    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;
   118 	TBool iSetTitlebarImage;
   119 	TBool iSetTitlebarImage;
       
   120 	TBool iShowNewShows;
   119 	};
   121 	};
   120 
   122 
   121 #endif // PODCASTSHOWSVIEWH
   123 #endif // PODCASTSHOWSVIEWH
   122 
   124 
   123 
   125