60 void SetContainerListener(MContainerListener *aContainerListener); |
60 void SetContainerListener(MContainerListener *aContainerListener); |
61 |
61 |
62 CEikColumnListBox* Listbox(); |
62 CEikColumnListBox* Listbox(); |
63 void SetListboxIcons(CArrayPtr< CGulIcon >* aIcons); |
63 void SetListboxIcons(CArrayPtr< CGulIcon >* aIcons); |
64 CArrayPtr<CGulIcon>* ListboxIcons(); |
64 CArrayPtr<CGulIcon>* ListboxIcons(); |
65 void SetTextArray(CDesCArray* aArray); |
65 void SetListboxTextArrays(CDesCArray* aPortraitArray, CDesCArray* aLandscapeArray); |
|
66 void SetEmptyText(const TDesC &aText); |
66 void ScrollToVisible(); |
67 void ScrollToVisible(); |
67 void Draw(const TRect& aRect) const; |
68 void Draw(const TRect& aRect) const; |
68 TBool IsLandscape(); |
|
69 |
|
70 public: |
|
71 CAknSingleLargeStyleListBox * iListboxLandscape; |
|
72 CAknDoubleLargeStyleListBox * iListboxPortrait; |
|
73 |
69 |
74 protected: |
70 protected: |
75 TTypeUid::Ptr MopSupplyObject( TTypeUid aId ); |
71 TTypeUid::Ptr MopSupplyObject( TTypeUid aId ); |
76 |
72 |
77 private: |
73 private: |
|
74 CAknSingleLargeStyleListBox * iListboxLandscape; |
|
75 CAknDoubleLargeStyleListBox * iListboxPortrait; |
78 MContainerListener* iContainerListener; |
76 MContainerListener* iContainerListener; |
79 CAknsBasicBackgroundControlContext* iBgContext; |
77 CAknsBasicBackgroundControlContext* iBgContext; |
80 |
|
81 CEikColumnListBox * iListbox; |
78 CEikColumnListBox * iListbox; |
82 TBool iLandscape; |
79 TBool iLandscape; |
83 CDesCArray* iItemArrayShort; |
|
84 }; |
80 }; |
85 |
81 |
86 |
82 |
87 class CPodcastListView : public CAknView, public MAknToolbarObserver, |
83 class CPodcastListView : public CAknView, public MAknToolbarObserver, |
88 public MProgressDialogCallback, public MContainerListener |
84 public MProgressDialogCallback, public MContainerListener |
160 |
156 |
161 /** Listbox flags which the listbox is created with*/ |
157 /** Listbox flags which the listbox is created with*/ |
162 TInt iListboxFlags; |
158 TInt iListboxFlags; |
163 |
159 |
164 CDesCArray* iItemArray; |
160 CDesCArray* iItemArray; |
|
161 CDesCArray* iItemArrayShort; |
165 RArray<TUint> iItemIdArray; |
162 RArray<TUint> iItemIdArray; |
166 |
163 |
167 TBuf<1024> iListboxFormatbuffer; |
164 TBuf<1024> iListboxFormatbuffer; |
|
165 TBuf<1024> iListboxFormatbufferShort; |
168 |
166 |
169 CAknToolbar *iToolbar; |
167 CAknToolbar *iToolbar; |
170 CAknWaitDialog *iWaitDialog; |
168 CAknWaitDialog *iWaitDialog; |
171 TBool flipFlop; |
169 TBool flipFlop; |
172 CArrayPtr< CGulIcon >* iIconArray; |
|
173 }; |
170 }; |
174 #endif // PODCASTBASEVIEWH |
171 #endif // PODCASTBASEVIEWH |
175 |
172 |