application/inc/PodcastShowsView.h
branch3rded
changeset 175 cd124c4eb6b9
parent 145 cc0182a5da39
child 343 9c56bf585696
equal deleted inserted replaced
174:982b1ad423f4 175:cd124c4eb6b9
    20 #define PODCASTSHOWSVIEWH 
    20 #define PODCASTSHOWSVIEWH 
    21 
    21 
    22 #include <aknview.h>
    22 #include <aknview.h>
    23 #include <aknlists.h> 
    23 #include <aknlists.h> 
    24 #include <eiklbo.h>
    24 #include <eiklbo.h>
    25 #include <AknToolbarObserver.h>
       
    26 #include <AknToolbar.h>
       
    27 #include "ShowEngine.h"
    25 #include "ShowEngine.h"
    28 #include "FeedEngine.h"
    26 #include "FeedEngine.h"
    29 #include "PodcastModel.h"
    27 #include "PodcastModel.h"
    30 #include "Podcast.hrh"
    28 #include "Podcast.hrh"
    31 #include "PodcastListView.h"
    29 #include "PodcastListView.h"
    35 	{
    33 	{
    36 public: 
    34 public: 
    37 	static CPodcastShowsView* NewL(CPodcastModel& aPodcastModel);
    35 	static CPodcastShowsView* NewL(CPodcastModel& aPodcastModel);
    38 	static CPodcastShowsView* NewLC(CPodcastModel& aPodcastModel);
    36 	static CPodcastShowsView* NewLC(CPodcastModel& aPodcastModel);
    39 	~CPodcastShowsView();
    37 	~CPodcastShowsView();
    40 	void UpdateToolbar(TBool aVisible=ETrue);
       
    41 
    38 
    42 protected:
    39 protected:
    43 	void ConstructL();
    40 	void ConstructL();
    44 	CPodcastShowsView(CPodcastModel& aPodcastModel);
    41 	CPodcastShowsView(CPodcastModel& aPodcastModel);
    45 
    42 
    93 	void UpdateFeedUpdateStateL();
    90 	void UpdateFeedUpdateStateL();
    94 	void UpdateShowItemL(TUint aUid, TInt aSizeDownloaded);
    91 	void UpdateShowItemL(TUint aUid, TInt aSizeDownloaded);
    95 	void UpdateShowItemDataL(CShowInfo* aShowInfo,TInt aIndex, TInt aSizeDownloaded = KErrNotFound);
    92 	void UpdateShowItemDataL(CShowInfo* aShowInfo,TInt aIndex, TInt aSizeDownloaded = KErrNotFound);
    96 	void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
    93 	void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
    97 	void FormatShowInfoListBoxItemL(CShowInfo& aShowInfo, TInt aSizeDownloaded = 0);
    94 	void FormatShowInfoListBoxItemL(CShowInfo& aShowInfo, TInt aSizeDownloaded = 0);
    98 
       
    99 	virtual void HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& aPenEventScreenLocation);
       
   100 	void GetShowIcons(CShowInfo* aShowInfo, TInt& aIconIndex);
    95 	void GetShowIcons(CShowInfo* aShowInfo, TInt& aIconIndex);
   101 	void CreateIconsL();
    96 	void CreateIconsL();
   102 
    97 
   103 private:
    98 private:
   104 	void DisplayShowInfoDialogL();
    99 	void DisplayShowInfoDialogL();