application/inc/PodcastFeedView.h
changeset 60 4d230e702aa3
parent 32 26a3f2dfba08
child 65 bcd88ba95046
equal deleted inserted replaced
59:9569ea080d5a 60:4d230e702aa3
    37     public: 
    37     public: 
    38         static CPodcastFeedView* NewL(CPodcastModel& aPodcastModel);
    38         static CPodcastFeedView* NewL(CPodcastModel& aPodcastModel);
    39         static CPodcastFeedView* NewLC(CPodcastModel& aPodcastModel);
    39         static CPodcastFeedView* NewLC(CPodcastModel& aPodcastModel);
    40         ~CPodcastFeedView();
    40         ~CPodcastFeedView();
    41         void UpdateItemL(TInt aIndex);
    41         void UpdateItemL(TInt aIndex);
    42 		void CheckResumeDownload();
    42 		void CheckResumeDownloadL();
    43 		void UpdateToolbar(TBool aVisible=ETrue);
    43 		void UpdateToolbar(TBool aVisible=ETrue);
    44 
    44 		TBool ViewingShows();
       
    45 		
    45 	protected:
    46 	protected:
    46 	    void ConstructL();
    47 	    void ConstructL();
    47 		CPodcastFeedView(CPodcastModel& aPodcastModel);
    48 		CPodcastFeedView(CPodcastModel& aPodcastModel);
    48 
    49 
    49 		/**
    50 		/**
    93 
    94 
    94 		// from MProgressDialogCallback
    95 		// from MProgressDialogCallback
    95 		void DialogDismissedL(TInt aButtonId); 
    96 		void DialogDismissedL(TInt aButtonId); 
    96 
    97 
    97 		// from MImageHandlerCallback
    98 		// from MImageHandlerCallback
    98 		void ImageOperationCompleteL(TInt aError, TUint aHandle);
    99 		void ImageOperationCompleteL(TInt aError, TUint aHandle, CPodcastModel& aPodcastModel);
    99 		
   100 		
   100 		void HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& aPenEventScreenLocation);
   101 		void HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& aPenEventScreenLocation);
   101 
   102 
   102 	private:
   103 	private:
   103 		void FormatFeedInfoListBoxItemL(CFeedInfo& aFeedInfo, TBool aIsUpdating = EFalse);
   104 		void FormatFeedInfoListBoxItemL(CFeedInfo& aFeedInfo, TBool aIsUpdating = EFalse);
   106 		void HandleRemoveFeedL();
   107 		void HandleRemoveFeedL();
   107 		void HandleImportFeedsL();
   108 		void HandleImportFeedsL();
   108 		void HandleExportFeedsL();
   109 		void HandleExportFeedsL();
   109 		void HandleUpdateFeedL();
   110 		void HandleUpdateFeedL();
   110 		void GetFeedErrorText(TDes &aErrorMessage, TInt aErrorCode);
   111 		void GetFeedErrorText(TDes &aErrorMessage, TInt aErrorCode);
       
   112 		void OpmlParsingCompleteL(TInt aError, TUint aNumFeedsImported);
   111 
   113 
   112 	private:
   114 	private:
   113 		CPodcastModel& iPodcastModel;		
   115 		CPodcastModel& iPodcastModel;		
   114 		TBool iUpdatingAllRunning;
   116 		TBool iUpdatingAllRunning;
   115 		HBufC* iFeedsFormat;
   117 		HBufC* iFeedsFormat;
   116 		HBufC* iNeverUpdated;
   118 		HBufC* iNeverUpdated;
   117 		CPodcastFeedViewUpdater* iUpdater;
   119 		CPodcastFeedViewUpdater* iUpdater;
   118 		TBool iFirstActivateAfterLaunch;
   120 		TBool iFirstActivateAfterLaunch;
   119 		TOpmlState iOpmlState;
   121 		TOpmlState iOpmlState;
   120 		TBool iViewingShows;
   122 		TBool iViewingShows;
       
   123 		RArray<TInt> iFeedIdForIconArray;
   121 };
   124 };
   122 
   125 
   123 #endif // PODCASTFEEDVIEWH
   126 #endif // PODCASTFEEDVIEWH