photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerslideshow.cpp
equal
deleted
inserted
replaced
47 #include <glxgeneraluiutilities.h> |
47 #include <glxgeneraluiutilities.h> |
48 namespace |
48 namespace |
49 { |
49 { |
50 const TInt KShwDefaultBufferSize = 128; |
50 const TInt KShwDefaultBufferSize = 128; |
51 } |
51 } |
52 |
|
53 // This class does not have access to a CEikonEnv and hence |
|
54 // pls ignore the code scanner warning - Using CEikonEnv::Static |
|
55 #define GetAppUi() (dynamic_cast<CAknViewAppUi*>(CEikonEnv::Static()->EikAppUi())) |
|
56 |
52 |
57 // --------------------------------------------------------------------------- |
53 // --------------------------------------------------------------------------- |
58 // Two-phased constructor. |
54 // Two-phased constructor. |
59 // --------------------------------------------------------------------------- |
55 // --------------------------------------------------------------------------- |
60 // |
56 // |
298 |
294 |
299 CleanupStack::PopAndDestroy(viewUtility); |
295 CleanupStack::PopAndDestroy(viewUtility); |
300 } |
296 } |
301 // show HUI display |
297 // show HUI display |
302 CGlxUiUtility::ShowAlfDisplayL(); |
298 CGlxUiUtility::ShowAlfDisplayL(); |
303 GetAppUi()->ProcessCommandL(EGlxCmdResetView); |
299 iAvkonAppUi->ProcessCommandL(EGlxCmdResetView); |
304 break; |
300 break; |
305 } |
301 } |
306 case EGlxCmdShowViaUpnpStateChanged: |
302 case EGlxCmdShowViaUpnpStateChanged: |
307 { |
303 { |
308 handledCommand = EFalse; |
304 handledCommand = EFalse; |