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, "com.nokia.positioning.indicatorplugin/1.0"); |
|
56 const TUid KPSUidSecurityUIs = { 0x100059b5 }; |
55 const TUid KPSUidSecurityUIs = { 0x100059b5 }; |
57 const TUint32 KSecurityUIsLights = 0x00000308; |
56 const TUint32 KSecurityUIsLights = 0x00000308; |
58 |
57 |
59 // ============================ MEMBER FUNCTIONS ============================== |
58 // ============================ MEMBER FUNCTIONS ============================== |
60 |
59 |
926 switch ( aKey ) |
925 switch ( aKey ) |
927 { |
926 { |
928 case KPosIntGpsHwStatus: |
927 case KPosIntGpsHwStatus: |
929 if ( aValue == EPosIntGpsHwOff ) |
928 if ( aValue == EPosIntGpsHwOff ) |
930 { |
929 { |
931 iSysApAppUi.iHbIndicatorSymbian->Deactivate(KGpsIndicatorPlugin); |
930 iSysApAppUi.SetPosIndicatorL(aValue); |
932 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOff ); |
931 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOff ); |
933 } |
932 } |
934 else if ( aValue == EPosIntGpsHwOn ) |
933 else if ( aValue == EPosIntGpsHwOn ) |
935 { |
934 { |
936 iSysApAppUi.iHbIndicatorSymbian->Activate(KGpsIndicatorPlugin); |
935 iSysApAppUi.SetPosIndicatorL(aValue); |
937 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOn ); |
936 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOn ); |
938 } |
937 } |
939 else if ( aValue == EPosIntGpsHwIntermediate ) |
938 else if ( aValue == EPosIntGpsHwIntermediate ) |
940 { |
939 { |
941 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateAnimate ); |
940 // iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateAnimate ); |