equal
deleted
inserted
replaced
177 { |
177 { |
178 __GSLOGSTRING1( "[CGSUi] HandleCommandL(%d)", aCommand ); |
178 __GSLOGSTRING1( "[CGSUi] HandleCommandL(%d)", aCommand ); |
179 switch ( aCommand ) |
179 switch ( aCommand ) |
180 { |
180 { |
181 case EEikCmdExit: |
181 case EEikCmdExit: |
|
182 case EAknCmdExit: |
|
183 case EAknSoftkeyExit: |
|
184 #ifdef GS_ENABLE_WATCH_DOG |
182 GSDocument().WatchDog()->ReportCleanExitL(); |
185 GSDocument().WatchDog()->ReportCleanExitL(); |
183 Exit(); |
186 #endif |
184 break; |
|
185 case EAknCmdExit: |
|
186 GSDocument().WatchDog()->ReportCleanExitL(); |
|
187 Exit(); |
|
188 break; |
|
189 case EAknSoftkeyExit: |
|
190 GSDocument().WatchDog()->ReportCleanExitL(); |
|
191 Exit(); |
187 Exit(); |
192 break; |
188 break; |
193 default: |
189 default: |
194 break; |
190 break; |
195 } |
191 } |
306 CleanupStack::PushL( prompt ); |
302 CleanupStack::PushL( prompt ); |
307 CAknInformationNote* note = |
303 CAknInformationNote* note = |
308 new( ELeave ) CAknInformationNote( ETrue ); |
304 new( ELeave ) CAknInformationNote( ETrue ); |
309 note->ExecuteLD( *prompt ); |
305 note->ExecuteLD( *prompt ); |
310 CleanupStack::PopAndDestroy( prompt ); |
306 CleanupStack::PopAndDestroy( prompt ); |
|
307 #ifdef GS_ENABLE_WATCH_DOG |
311 GSDocument().WatchDog()->ReportCleanExitL(); |
308 GSDocument().WatchDog()->ReportCleanExitL(); |
|
309 #endif |
312 Exit(); |
310 Exit(); |
313 } |
311 } |
314 |
312 |
315 |
313 |
316 // --------------------------------------------------------------------------- |
314 // --------------------------------------------------------------------------- |
421 |
419 |
422 switch( aEvent ) |
420 switch( aEvent ) |
423 { |
421 { |
424 case MGSEComObserver::EPluginRemoved: |
422 case MGSEComObserver::EPluginRemoved: |
425 __GSLOGSTRING( "[CGSUi::HandleAppListEvent] Closing GS..." ); |
423 __GSLOGSTRING( "[CGSUi::HandleAppListEvent] Closing GS..." ); |
426 TRAP_IGNORE( GSDocument().WatchDog()->ReportCleanExitL() ); |
424 #ifdef GS_ENABLE_WATCH_DOG |
|
425 TRAP_IGNORE( GSDocument().WatchDog()->ReportCleanExitL() ); |
|
426 #endif |
427 Exit(); |
427 Exit(); |
428 break; |
428 break; |
429 default: |
429 default: |
430 break; |
430 break; |
431 } |
431 } |