equal
deleted
inserted
replaced
43 |
43 |
44 const TInt KTabIdFeeds = 0; |
44 const TInt KTabIdFeeds = 0; |
45 const TInt KTabIdQueue = 1; |
45 const TInt KTabIdQueue = 1; |
46 |
46 |
47 const TInt KTimeoutPrio = CActive::EPriorityStandard; |
47 const TInt KTimeoutPrio = CActive::EPriorityStandard; |
|
48 |
|
49 enum TNaviStyle |
|
50 { |
|
51 ENaviEmpty, |
|
52 ENaviText, |
|
53 ENaviTabGroup |
|
54 }; |
48 |
55 |
49 class CTimeout; |
56 class CTimeout; |
50 |
57 |
51 class MTimeoutObserver |
58 class MTimeoutObserver |
52 { |
59 { |
109 |
116 |
110 void SetActiveTab(TInt aIndex); |
117 void SetActiveTab(TInt aIndex); |
111 void UpdateQueueTab(TInt aQueueLength); |
118 void UpdateQueueTab(TInt aQueueLength); |
112 void TabLeft(); |
119 void TabLeft(); |
113 void TabRight(); |
120 void TabRight(); |
114 void SetTabsVisibleL(TBool aVisible); |
121 void NaviSetTextL(TInt aResourceId); |
|
122 void NaviShowTabGroupL(); |
|
123 |
115 private: |
124 private: |
116 // From MEikMenuObserver |
125 // From MEikMenuObserver |
117 void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane); |
126 void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane); |
118 void TabChangedL (TInt aIndex); |
127 void TabChangedL (TInt aIndex); |
119 CArrayFix<TCoeHelpContext>* HelpContextL() const; |
128 CArrayFix<TCoeHelpContext>* HelpContextL() const; |
120 private: |
|
121 void HandleCommandL(TInt aCommand); |
129 void HandleCommandL(TInt aCommand); |
122 void NaviShowTabGroupL(); |
|
123 protected: |
130 protected: |
124 void HandleTimeout(const CTimeout& aId, TInt aError); |
131 void HandleTimeout(const CTimeout& aId, TInt aError); |
125 |
132 |
126 protected: |
133 protected: |
127 // from MConnectionObserver |
134 // from MConnectionObserver |
139 CPodcastSearchView* iSearchView; |
146 CPodcastSearchView* iSearchView; |
140 CPodcastSettingsView* iSettingsView; |
147 CPodcastSettingsView* iSettingsView; |
141 |
148 |
142 CPodcastModel* iPodcastModel; |
149 CPodcastModel* iPodcastModel; |
143 |
150 |
144 CAknNavigationDecorator* iNaviDecorator; |
151 CAknNavigationDecorator* iNaviTabGroup; |
|
152 CAknNavigationDecorator* iNaviText; |
145 CAknTabGroup* iTabGroup; |
153 CAknTabGroup* iTabGroup; |
146 CAknNavigationControlContainer* iNaviPane; |
154 CAknNavigationControlContainer* iNaviPane; |
147 TBool iTabsVisible; |
155 TNaviStyle iNaviStyle; |
148 CTimeout* iStartTimer; |
156 CTimeout* iStartTimer; |
149 }; |
157 }; |
150 |
158 |
151 #endif |
159 #endif |