application/inc/PodcastFeedView.h
branchsymbian1
changeset 336 3d6c1417e8bd
parent 289 ba99740139d0
child 350 9c4fd008e20f
equal deleted inserted replaced
296:80f1da5ac28b 336:3d6c1417e8bd
    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 UpdateItemsComplete();
    42 		void CheckResumeDownloadL();
    43 		void CheckResumeDownloadL();
    43 		void UpdateToolbar(TBool aVisible=ETrue);
    44 		void UpdateToolbar(TBool aVisible=ETrue);
    44 		TBool ViewingShows();
    45 		TBool ViewingShows();
    45 
    46 
    46  	   void CheckConfirmExit();
    47  	   void CheckConfirmExit();
       
    48  	   void ShowItem(TUint aUid);
    47 
    49 
    48 	protected:
    50 	protected:
    49 	    void ConstructL();
    51 	    void ConstructL();
    50 		CPodcastFeedView(CPodcastModel& aPodcastModel);
    52 		CPodcastFeedView(CPodcastModel& aPodcastModel);
    51 
    53 
   112 		void HandleImportFeedsL();
   114 		void HandleImportFeedsL();
   113 		void HandleExportFeedsL();
   115 		void HandleExportFeedsL();
   114 		void HandleUpdateFeedL();
   116 		void HandleUpdateFeedL();
   115 		void GetFeedErrorText(TDes &aErrorMessage, TInt aErrorCode);
   117 		void GetFeedErrorText(TDes &aErrorMessage, TInt aErrorCode);
   116 		void OpmlParsingCompleteL(TInt aError, TUint aNumFeedsImported);
   118 		void OpmlParsingCompleteL(TInt aError, TUint aNumFeedsImported);
   117 		
   119 		void LoadIcons();
       
   120 		void DisplayFeedInfoDialogL();
   118 	private:
   121 	private:
   119 		CPodcastModel& iPodcastModel;		
   122 		CPodcastModel& iPodcastModel;		
   120 		TBool iUpdatingRunning;
   123 		TUint iFeedUpdating;
   121 		HBufC* iFeedsFormat;
   124 		HBufC* iFeedsFormat;
   122 		HBufC* iNeverUpdated;
   125 		HBufC* iNeverUpdated;
   123 		CPodcastFeedViewUpdater* iUpdater;
   126 		CPodcastFeedViewUpdater* iUpdater;
   124 		TBool iFirstActivateAfterLaunch;
   127 		TBool iFirstActivateAfterLaunch;
   125 		TOpmlState iOpmlState;
   128 		TOpmlState iOpmlState;
   126 		TBool iViewingShows;
   129 		TBool iViewingShows;
   127 		RArray<TInt> iFeedIdForIconArray;
   130 		RArray<TInt> iFeedIdForIconArray;
       
   131 		TBool iListingFirstTime;
   128 };
   132 };
   129 
   133 
   130 #endif // PODCASTFEEDVIEWH
   134 #endif // PODCASTFEEDVIEWH