57 CCoeControl* ComponentControl( TInt aIndex ) const; |
57 CCoeControl* ComponentControl( TInt aIndex ) const; |
58 void HandleResourceChange(TInt aType); |
58 void HandleResourceChange(TInt aType); |
59 virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
59 virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
60 void SetContainerListener(MContainerListener *aContainerListener); |
60 void SetContainerListener(MContainerListener *aContainerListener); |
61 void SetListboxObserver(MEikListBoxObserver *aObserver); |
61 void SetListboxObserver(MEikListBoxObserver *aObserver); |
62 |
|
63 CEikColumnListBox* Listbox(); |
62 CEikColumnListBox* Listbox(); |
64 void SetListboxIcons(CArrayPtr< CGulIcon >* aIcons); |
63 void SetListboxIcons(CArrayPtr< CGulIcon >* aIcons); |
65 CArrayPtr<CGulIcon>* ListboxIcons(); |
64 CArrayPtr<CGulIcon>* ListboxIcons(); |
66 void SetListboxTextArrays(CDesCArray* aPortraitArray, CDesCArray* aLandscapeArray); |
65 void SetListboxTextArrays(CDesCArray* aPortraitArray, CDesCArray* aLandscapeArray); |
67 void SetEmptyText(const TDesC &aText); |
66 void SetEmptyText(const TDesC &aText); |
68 void ScrollToVisible(); |
67 void ScrollToVisible(); |
69 void Draw(const TRect& aRect) const; |
68 void Draw(const TRect& aRect) const; |
70 |
69 |
71 protected: |
70 protected: |
72 TTypeUid::Ptr MopSupplyObject( TTypeUid aId ); |
71 TTypeUid::Ptr MopSupplyObject( TTypeUid aId ); |
73 |
72 |
74 private: |
73 private: |
75 CAknSingleLargeStyleListBox * iListboxLandscape; |
74 CAknSingleLargeStyleListBox * iListboxLandscape; |
76 CAknDoubleLargeStyleListBox * iListboxPortrait; |
75 CAknDoubleLargeStyleListBox * iListboxPortrait; |
80 TBool iLandscape; |
79 TBool iLandscape; |
81 }; |
80 }; |
82 |
81 |
83 |
82 |
84 class CPodcastListView : public CAknView, public MAknToolbarObserver, |
83 class CPodcastListView : public CAknView, public MAknToolbarObserver, |
85 public MProgressDialogCallback, public MContainerListener, MEikListBoxObserver |
84 public MProgressDialogCallback, public MContainerListener, public MEikListBoxObserver |
86 { |
85 { |
87 public: |
86 public: |
88 ~CPodcastListView(); |
87 ~CPodcastListView(); |
89 virtual void UpdateToolbar(TBool aVisible=ETrue) = 0; |
88 virtual void UpdateToolbar(TBool aVisible=ETrue) = 0; |
90 TBool IsVisible(); |
89 TBool IsVisible(); |