equal
deleted
inserted
replaced
135 // --------------------------------------------------------------------------- |
135 // --------------------------------------------------------------------------- |
136 // |
136 // |
137 CGlxCloudViewImp::~CGlxCloudViewImp() |
137 CGlxCloudViewImp::~CGlxCloudViewImp() |
138 { |
138 { |
139 TRACER("GLX_CLOUD::CGlxCloudViewImp::~CGlxCloudViewImp"); |
139 TRACER("GLX_CLOUD::CGlxCloudViewImp::~CGlxCloudViewImp"); |
140 |
|
141 delete iMMCNotifier; |
|
142 iMMCNotifier = NULL; |
|
143 |
140 |
144 CleanupVisuals (); |
141 CleanupVisuals (); |
145 delete iEmptyListText; |
142 delete iEmptyListText; |
146 if ( iResourceOffset ) |
143 if ( iResourceOffset ) |
147 { |
144 { |
220 |
217 |
221 GfxTransEffect::EndFullScreen(); |
218 GfxTransEffect::EndFullScreen(); |
222 |
219 |
223 // set app state to tag-browser view |
220 // set app state to tag-browser view |
224 GlxSetAppState::SetState (EGlxInTagBrowserView); |
221 GlxSetAppState::SetState (EGlxInTagBrowserView); |
|
222 iMMCNotifier = CGlxMMCNotifier::NewL(*this); |
225 } |
223 } |
226 |
224 |
227 // --------------------------------------------------------------------------- |
225 // --------------------------------------------------------------------------- |
228 // From CAknView |
226 // From CAknView |
229 // View deactivation function. |
227 // View deactivation function. |
230 // --------------------------------------------------------------------------- |
228 // --------------------------------------------------------------------------- |
231 // |
229 // |
232 void CGlxCloudViewImp::DoMLViewDeactivate() |
230 void CGlxCloudViewImp::DoMLViewDeactivate() |
233 { |
231 { |
234 TRACER("GLX_CLOUD::CGlxCloudViewImp::DoMLViewDeactivate"); |
232 TRACER("GLX_CLOUD::CGlxCloudViewImp::DoMLViewDeactivate"); |
|
233 |
|
234 delete iMMCNotifier; |
|
235 iMMCNotifier = NULL; |
|
236 |
235 //Hide softkeys and toolbar upon view de-activation. |
237 //Hide softkeys and toolbar upon view de-activation. |
236 iViewWidget->enableControlPane(EFalse); |
238 iViewWidget->enableControlPane(EFalse); |
237 if ( EGlxNavigationForwards == iUiUtility->ViewNavigationDirection() ) |
239 if ( EGlxNavigationForwards == iUiUtility->ViewNavigationDirection() ) |
238 { |
240 { |
239 iViewWidget->enableStatusPane(EFalse); |
241 iViewWidget->enableStatusPane(EFalse); |
366 |
368 |
367 SetScrollBarRect(); |
369 SetScrollBarRect(); |
368 |
370 |
369 //acquire the focus so as to get events to your control instead of widgets |
371 //acquire the focus so as to get events to your control instead of widgets |
370 iCloudControl->AcquireFocus(); |
372 iCloudControl->AcquireFocus(); |
371 |
373 } |
372 iMMCNotifier = CGlxMMCNotifier::NewL(*this); |
374 |
373 } |
|
374 // --------------------------------------------------------------------------- |
375 // --------------------------------------------------------------------------- |
375 // SetScrollBarRect() |
376 // SetScrollBarRect() |
376 // --------------------------------------------------------------------------- |
377 // --------------------------------------------------------------------------- |
377 // |
378 // |
378 void CGlxCloudViewImp::SetScrollBarRect() |
379 void CGlxCloudViewImp::SetScrollBarRect() |