engine/inc/FeedInfo.h
changeset 60 4d230e702aa3
parent 32 26a3f2dfba08
child 340 37610dda6102
equal deleted inserted replaced
59:9569ea080d5a 60:4d230e702aa3
    58 		IMPORT_C void SetLastUpdated(TTime aUpdated);
    58 		IMPORT_C void SetLastUpdated(TTime aUpdated);
    59 
    59 
    60 		IMPORT_C TUint Uid() const;
    60 		IMPORT_C TUint Uid() const;
    61 
    61 
    62 		IMPORT_C const TDesC& ImageFileName() const;
    62 		IMPORT_C const TDesC& ImageFileName() const;
    63 		IMPORT_C void SetImageFileNameL(const TDesC &aFileName);
    63 		IMPORT_C void SetImageFileNameL(const TDesC &aFileName, CPodcastModel* aPodcastModel);
    64 			
    64 			
    65 		IMPORT_C void SetCustomTitle();
    65 		IMPORT_C void SetCustomTitle();
    66 		IMPORT_C TBool CustomTitle() const;
    66 		IMPORT_C TBool CustomTitle() const;
    67 		
    67 		
    68 		IMPORT_C void SetLastError(TInt aLastError);
    68 		IMPORT_C void SetLastError(TInt aLastError);
    69 		IMPORT_C TInt LastError() const;
    69 		IMPORT_C TInt LastError() const;
    70 		
    70 		
    71 		IMPORT_C CFbsBitmap* FeedIcon() const;
    71 		IMPORT_C CFbsBitmap* FeedIcon() const;
    72 		IMPORT_C void SetFeedIcon(CFbsBitmap* aBitmapToClone);
    72 		IMPORT_C void SetFeedIcon(CFbsBitmap* aBitmapToClone);
    73 		
    73 		
    74 		IMPORT_C TInt FeedIconIndex() const;
       
    75 		IMPORT_C void SetFeedIconIndex(TInt aIndex);
       
    76 	private:
    74 	private:
    77 		CFeedInfo();
    75 		CFeedInfo();
    78 		void ConstructL();
    76 		void ConstructL();
    79 		void ImageOperationCompleteL(TInt aError, TUint aHandle);
    77 		void ImageOperationCompleteL(TInt aError, TUint aHandle, CPodcastModel& aPodcastModel);
    80 	private:
    78 	private:
    81 		HBufC* iUrl;
    79 		HBufC* iUrl;
    82 		HBufC* iTitle;
    80 		HBufC* iTitle;
    83 		HBufC* iDescription;
    81 		HBufC* iDescription;
    84 		HBufC* iImageUrl;
    82 		HBufC* iImageUrl;
    88 		TTime iLastUpdated;
    86 		TTime iLastUpdated;
    89 		TUint iUid;
    87 		TUint iUid;
    90 		TBool iCustomTitle;
    88 		TBool iCustomTitle;
    91 		TInt   iLastError;
    89 		TInt   iLastError;
    92 		CFbsBitmap* iFeedIcon;	
    90 		CFbsBitmap* iFeedIcon;	
    93 		TInt iFeedIconIndex;
       
    94 	};
    91 	};
    95 
    92 
    96 typedef RPointerArray<CFeedInfo> RFeedInfoArray;
    93 typedef RPointerArray<CFeedInfo> RFeedInfoArray;
    97 
    94 
    98 #endif
    95 #endif