31 #include "SysApFeatureManager.h" |
31 #include "SysApFeatureManager.h" |
32 #include <ir_sock.h> |
32 #include <ir_sock.h> |
33 #include <networkhandlingdomainpskeys.h> |
33 #include <networkhandlingdomainpskeys.h> |
34 #include <hwrmdomainpskeys.h> |
34 #include <hwrmdomainpskeys.h> |
35 #include <DataSyncInternalPSKeys.h> |
35 #include <DataSyncInternalPSKeys.h> |
36 #include <hwrmfmtxdomainpskeys.h> |
36 //#include <hwrmfmtxdomainpskeys.h> |
37 #include <hwrmfmtx.h> |
37 //#include <hwrmfmtx.h> |
38 #include "sysapremconobserver.h" |
38 #include "sysapremconobserver.h" |
39 #include <lbs/locationfwdomainpskeys.h> |
39 #include <lbs/locationfwdomainpskeys.h> |
40 #include <smsuaddr.h> |
40 #include <smsuaddr.h> |
41 |
41 |
42 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
42 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
164 |
164 |
165 // Category KPSUidHWRM |
165 // Category KPSUidHWRM |
166 iFlipStatusSubscriber = CSysApSubscriber::NewL( *this, KPSUidHWRM, KHWRMFlipStatus ); |
166 iFlipStatusSubscriber = CSysApSubscriber::NewL( *this, KPSUidHWRM, KHWRMFlipStatus ); |
167 iFlipStatusSubscriber->Subscribe(); |
167 iFlipStatusSubscriber->Subscribe(); |
168 |
168 |
169 if ( iSysApAppUi.SysApFeatureManager().FmTxSupported() ) |
169 /* if ( iSysApAppUi.SysApFeatureManager().FmTxSupported() ) |
170 { |
170 { |
171 // Category KHWRMFmTxStatus |
171 // Category KHWRMFmTxStatus |
172 iFmTxStatusSubscriber = CSysApSubscriber::NewL( *this, KPSUidHWRMFmTx, KHWRMFmTxStatus ); |
172 iFmTxStatusSubscriber = CSysApSubscriber::NewL( *this, KPSUidHWRMFmTx, KHWRMFmTxStatus ); |
173 iFmTxStatusSubscriber->Subscribe(); |
173 iFmTxStatusSubscriber->Subscribe(); |
174 iPreviousFmTxPSValue = EFmTxStateUnknown; |
174 iPreviousFmTxPSValue = EFmTxStateUnknown; |
175 } |
175 } |
176 |
176 */ |
177 iSyncStatusSubscriber = CSysApSubscriber::NewL( *this, KPSUidDataSynchronizationInternalKeys, KDataSyncStatus ); |
177 iSyncStatusSubscriber = CSysApSubscriber::NewL( *this, KPSUidDataSynchronizationInternalKeys, KDataSyncStatus ); |
178 iSyncStatusSubscriber->Subscribe(); |
178 iSyncStatusSubscriber->Subscribe(); |
179 |
179 |
180 iVideoSharingIndicatorSubscriber = CSysApSubscriber::NewL( *this, KPSUidCoreApplicationUIs, KCoreAppUIsVideoSharingIndicator ); |
180 iVideoSharingIndicatorSubscriber = CSysApSubscriber::NewL( *this, KPSUidCoreApplicationUIs, KCoreAppUIsVideoSharingIndicator ); |
181 iVideoSharingIndicatorSubscriber->Subscribe(); |
181 iVideoSharingIndicatorSubscriber->Subscribe(); |
228 delete iLightsRawKeyEventSubscriber; |
228 delete iLightsRawKeyEventSubscriber; |
229 delete iMmcRemovedWithoutEjectSubscriber; |
229 delete iMmcRemovedWithoutEjectSubscriber; |
230 delete iNetworkModeSubscriber; |
230 delete iNetworkModeSubscriber; |
231 delete iWlanIndicatorSubscriber; |
231 delete iWlanIndicatorSubscriber; |
232 delete iFlipStatusSubscriber; |
232 delete iFlipStatusSubscriber; |
233 delete iFmTxStatusSubscriber; |
233 // delete iFmTxStatusSubscriber; |
234 delete iFmTxRemConObserver; |
234 // delete iFmTxRemConObserver; |
235 delete iSyncStatusSubscriber; |
235 delete iSyncStatusSubscriber; |
236 delete iVideoSharingIndicatorSubscriber; |
236 delete iVideoSharingIndicatorSubscriber; |
237 delete iGpsIndicatorSubscriber; |
237 delete iGpsIndicatorSubscriber; |
238 delete iSmsPhoneStoreSubscriber; |
238 delete iSmsPhoneStoreSubscriber; |
239 } |
239 } |
300 } |
300 } |
301 else if ( aCategory == KPSUidHWRM ) |
301 else if ( aCategory == KPSUidHWRM ) |
302 { |
302 { |
303 HandleHwrmCategoryL( aKey, value ); |
303 HandleHwrmCategoryL( aKey, value ); |
304 } |
304 } |
305 else if ( aCategory == KPSUidHWRMFmTx ) |
305 /* else if ( aCategory == KPSUidHWRMFmTx ) |
306 { |
306 { |
307 HandleHwrmFmTxCategoryL( aKey, value ); |
307 HandleHwrmFmTxCategoryL( aKey, value ); |
308 } |
308 } |
309 else if ( aCategory == KPSUidDataSynchronizationInternalKeys ) |
309 */ else if ( aCategory == KPSUidDataSynchronizationInternalKeys ) |
310 { |
310 { |
311 HandleDataSyncCategoryL( aKey, value ); |
311 HandleDataSyncCategoryL( aKey, value ); |
312 } |
312 } |
313 else if ( aCategory == KPosIndicatorCategoryUid ) |
313 else if ( aCategory == KPosIndicatorCategoryUid ) |
314 { |
314 { |
607 |
607 |
608 default: |
608 default: |
609 break; |
609 break; |
610 } |
610 } |
611 } |
611 } |
612 |
612 /* |
613 // ---------------------------------------------------------------------------- |
613 // ---------------------------------------------------------------------------- |
614 // CSysApPubSubObserver::HandleHwrmFmTxCategoryL() |
614 // CSysApPubSubObserver::HandleHwrmFmTxCategoryL() |
615 // ---------------------------------------------------------------------------- |
615 // ---------------------------------------------------------------------------- |
616 void CSysApPubSubObserver::HandleHwrmFmTxCategoryL( const TUint aKey, |
616 void CSysApPubSubObserver::HandleHwrmFmTxCategoryL( const TUint aKey, |
617 const TInt aValue ) |
617 const TInt aValue ) |
748 iFmTxRemConObserver = NULL; |
748 iFmTxRemConObserver = NULL; |
749 } |
749 } |
750 iPreviousFmTxPSValue = aValue; |
750 iPreviousFmTxPSValue = aValue; |
751 } |
751 } |
752 } |
752 } |
|
753 */ |
753 |
754 |
754 // ---------------------------------------------------------------------------- |
755 // ---------------------------------------------------------------------------- |
755 // CSysApPubSubObserver::HandleWlanCategoryL() |
756 // CSysApPubSubObserver::HandleWlanCategoryL() |
756 // ---------------------------------------------------------------------------- |
757 // ---------------------------------------------------------------------------- |
757 void CSysApPubSubObserver::HandleWlanCategoryL( const TUint aKey, const TInt aValue ) |
758 void CSysApPubSubObserver::HandleWlanCategoryL( const TUint aKey, const TInt aValue ) |