equal
deleted
inserted
replaced
161 // |
161 // |
162 void CBlidMainView::NotifyL( const TBool aOnlineMode ) |
162 void CBlidMainView::NotifyL( const TBool aOnlineMode ) |
163 { |
163 { |
164 if( iMainCtrl && aOnlineMode ) |
164 if( iMainCtrl && aOnlineMode ) |
165 { |
165 { |
|
166 iMainCtrl->SetErrorCode( KErrNone ); |
|
167 iMainCtrl->SetOnlineMode( aOnlineMode ); |
166 iMainCtrl->UpdateL(); |
168 iMainCtrl->UpdateL(); |
167 iMainCtrl->SetOnlineMode( aOnlineMode ); |
|
168 } |
169 } |
169 DEBUG1(" CBlidMainView::NotifyL called ::%d", aOnlineMode ); |
170 DEBUG1(" CBlidMainView::NotifyL called ::%d", aOnlineMode ); |
170 CBlidBaseView::NotifyL( aOnlineMode ); |
171 CBlidBaseView::NotifyL( aOnlineMode ); |
171 } |
172 } |
172 |
173 |
178 { |
179 { |
179 CBlidBaseView::NotifyErrorL( aErrorCode ); |
180 CBlidBaseView::NotifyErrorL( aErrorCode ); |
180 DEBUG1(" CBlidMainView::NotifyErrorL errorcode ::%d", aErrorCode ); |
181 DEBUG1(" CBlidMainView::NotifyErrorL errorcode ::%d", aErrorCode ); |
181 if( iMainCtrl ) |
182 if( iMainCtrl ) |
182 { |
183 { |
|
184 iMainCtrl->SetErrorCode( aErrorCode ); |
183 iMainCtrl->UpdateL(); |
185 iMainCtrl->UpdateL(); |
184 iMainCtrl->SetErrorCode( aErrorCode ); |
|
185 } |
186 } |
186 } |
187 } |
187 |
188 |
188 // ---------------------------------------------------------- |
189 // ---------------------------------------------------------- |
189 // Handle Resource Change Events: Display orientation switch |
190 // Handle Resource Change Events: Display orientation switch |
200 iEnv.PrimaryDisplay().SetVisibleArea(rect); |
201 iEnv.PrimaryDisplay().SetVisibleArea(rect); |
201 iMainCtrl->UpdateDisplayLayoutL(); |
202 iMainCtrl->UpdateDisplayLayoutL(); |
202 } |
203 } |
203 } |
204 } |
204 |
205 |
|
206 CBlidMainControl* CBlidMainView::GetControl() |
|
207 { |
|
208 return iMainCtrl; |
|
209 } |
205 |
210 |
206 #ifdef RD_SCALABLE_UI_V2 |
211 #ifdef RD_SCALABLE_UI_V2 |
207 // --------------------------------------------------------------------------- |
212 // --------------------------------------------------------------------------- |
208 // CBlidNavigationView::HandleListBoxSelectionL |
213 // CBlidNavigationView::HandleListBoxSelectionL |
209 // --------------------------------------------------------------------------- |
214 // --------------------------------------------------------------------------- |