equal
deleted
inserted
replaced
50 |
50 |
51 // CONSTANTS |
51 // CONSTANTS |
52 const TUint KCoreAppUIsMmcRemovedWithoutEjectCmdMask = 0xFFFF; |
52 const TUint KCoreAppUIsMmcRemovedWithoutEjectCmdMask = 0xFFFF; |
53 const TUint KCoreAppUIsMmcRemovedWithoutEjectValShift = 16; |
53 const TUint KCoreAppUIsMmcRemovedWithoutEjectValShift = 16; |
54 |
54 |
|
55 _LIT(KGpsIndicatorPlugin, "PositioningIndicator"); |
55 const TUid KPSUidSecurityUIs = { 0x100059b5 }; |
56 const TUid KPSUidSecurityUIs = { 0x100059b5 }; |
56 const TUint32 KSecurityUIsLights = 0x00000308; |
57 const TUint32 KSecurityUIsLights = 0x00000308; |
57 |
58 |
58 // ============================ MEMBER FUNCTIONS ============================== |
59 // ============================ MEMBER FUNCTIONS ============================== |
59 |
60 |
394 break; |
395 break; |
395 case KCoreAppUIsMessageToneQuit: |
396 case KCoreAppUIsMessageToneQuit: |
396 // iSysApAppUi.HandleMessageTonePlayingQuitability( aValue ); |
397 // iSysApAppUi.HandleMessageTonePlayingQuitability( aValue ); |
397 break; |
398 break; |
398 case KCoreAppUIsNspsRawKeyEvent: |
399 case KCoreAppUIsNspsRawKeyEvent: |
399 // iSysApAppUi.HandleNspsRawKeyEventL(); |
400 iSysApAppUi.HandleNspsRawKeyEventL(); |
400 break; |
401 break; |
401 case KCoreAppUIsLightsRawKeyEvent: |
402 case KCoreAppUIsLightsRawKeyEvent: |
402 if ( aValue == ECoreAppUIsKeyEvent ) |
403 if ( aValue == ECoreAppUIsKeyEvent ) |
403 { |
404 { |
404 // iSysApAppUi.HandleRawKeyEventLightsRequireL(); |
405 iSysApAppUi.HandleRawKeyEventLightsRequireL(); |
405 } |
406 } |
406 break; |
407 break; |
407 case KCoreAppUIsMmcRemovedWithoutEject: |
408 case KCoreAppUIsMmcRemovedWithoutEject: |
408 { |
409 { |
409 TUint cmd( aValue & KCoreAppUIsMmcRemovedWithoutEjectCmdMask ); |
410 TUint cmd( aValue & KCoreAppUIsMmcRemovedWithoutEjectCmdMask ); |
906 switch ( aKey ) |
907 switch ( aKey ) |
907 { |
908 { |
908 case KPosIntGpsHwStatus: |
909 case KPosIntGpsHwStatus: |
909 if ( aValue == EPosIntGpsHwOff ) |
910 if ( aValue == EPosIntGpsHwOff ) |
910 { |
911 { |
|
912 iSysApAppUi.iHbIndicatorSymbian->Deactivate(KGpsIndicatorPlugin); |
911 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOff ); |
913 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOff ); |
912 } |
914 } |
913 else if ( aValue == EPosIntGpsHwOn ) |
915 else if ( aValue == EPosIntGpsHwOn ) |
914 { |
916 { |
|
917 iSysApAppUi.iHbIndicatorSymbian->Activate(KGpsIndicatorPlugin); |
915 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOn ); |
918 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOn ); |
916 } |
919 } |
917 else if ( aValue == EPosIntGpsHwIntermediate ) |
920 else if ( aValue == EPosIntGpsHwIntermediate ) |
918 { |
921 { |
919 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateAnimate ); |
922 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateAnimate ); |