equal
deleted
inserted
replaced
21 |
21 |
22 #include <aknviewappui.h> |
22 #include <aknviewappui.h> |
23 #include <akntabobserver.h> |
23 #include <akntabobserver.h> |
24 #include <akntabgrp.h> |
24 #include <akntabgrp.h> |
25 #include <aknnavide.h> |
25 #include <aknnavide.h> |
|
26 |
|
27 #include "ConnectionEngine.h" |
26 |
28 |
27 class CPodcastMainView; |
29 class CPodcastMainView; |
28 class CPodcastFeedView; |
30 class CPodcastFeedView; |
29 class CPodcastShowsView; |
31 class CPodcastShowsView; |
30 class CPodcastQueueView; |
32 class CPodcastQueueView; |
95 |
97 |
96 protected: |
98 protected: |
97 MTimeoutObserver& iObserver; |
99 MTimeoutObserver& iObserver; |
98 }; |
100 }; |
99 |
101 |
100 class CPodcastAppUi : public CAknViewAppUi, public MAknTabObserver, MTimeoutObserver |
102 class CPodcastAppUi : public CAknViewAppUi, public MAknTabObserver, |
|
103 public MTimeoutObserver, public MConnectionObserver |
101 { |
104 { |
102 public: |
105 public: |
103 CPodcastAppUi(CPodcastModel* aPodcastModel); |
106 CPodcastAppUi(CPodcastModel* aPodcastModel); |
104 void ConstructL(); |
107 void ConstructL(); |
105 ~CPodcastAppUi(); |
108 ~CPodcastAppUi(); |
118 void HandleCommandL(TInt aCommand); |
121 void HandleCommandL(TInt aCommand); |
119 void NaviShowTabGroupL(); |
122 void NaviShowTabGroupL(); |
120 protected: |
123 protected: |
121 void HandleTimeout(const CTimeout& aId, TInt aError); |
124 void HandleTimeout(const CTimeout& aId, TInt aError); |
122 |
125 |
|
126 protected: |
|
127 // from MConnectionObserver |
|
128 |
|
129 void ConnectionSelectionStart(); |
|
130 void ConnectionSelectionEnd(); |
|
131 void ConnectCompleteL(TInt /*aErrorCode*/) {} |
|
132 void Disconnected() {}; |
|
133 |
123 private: |
134 private: |
124 CPodcastMainView *iMainView; |
135 CPodcastMainView *iMainView; |
125 CPodcastFeedView* iFeedView; |
136 CPodcastFeedView* iFeedView; |
126 CPodcastShowsView* iShowsView; |
137 CPodcastShowsView* iShowsView; |
127 CPodcastQueueView* iQueueView; |
138 CPodcastQueueView* iQueueView; |