equal
deleted
inserted
replaced
18 |
18 |
19 |
19 |
20 // INCLUDE FILES |
20 // INCLUDE FILES |
21 #include <centralrepository.h> |
21 #include <centralrepository.h> |
22 #include <ctsydomainpskeys.h> |
22 #include <ctsydomainpskeys.h> |
23 #include <telservicesinternalcrkeys.h> // telephony service local variation keys. |
23 #include <telservicesinternalcrkeys.h> // Telephony service local variation keys. |
24 #include <telservicesvariant.hrh> |
24 #include <telservicesvariant.hrh> |
25 |
25 |
26 #include "psetsaobserver.h" |
26 #include "PsetSAObserver.h" |
27 #include "mpsetnetworkinfoobs.h" |
27 #include "MPsetNetworkInfoObs.h" |
28 #include "mpsetdivertobs.h" |
28 #include "MPsetDivertObs.h" |
29 #include "phonesettingslogger.h" |
29 #include "PhoneSettingsLogger.h" |
30 #include "psetutility.h" |
30 #include "PSetUtility.h" |
31 #include "psetvariationproxy.h" |
31 #include "PsetVariationProxy.h" |
32 |
32 |
33 //CONSTANTS |
33 //CONSTANTS |
34 const TInt KPsetRequesterUncertain = 0; |
34 const TInt KPsetRequesterUncertain = 0; |
35 |
35 |
36 // ================= MEMBER FUNCTIONS ======================= |
36 // ================= MEMBER FUNCTIONS ======================= |
114 EXPORT_C TInt CPsetSAObserver::IsGPRSConnected() |
114 EXPORT_C TInt CPsetSAObserver::IsGPRSConnected() |
115 { |
115 { |
116 __PHSLOGSTRING("[PHS]--> CPsetSAObserver::IsGPRSConnected" ); |
116 __PHSLOGSTRING("[PHS]--> CPsetSAObserver::IsGPRSConnected" ); |
117 TInt connectionStatus = KErrGeneral; |
117 TInt connectionStatus = KErrGeneral; |
118 |
118 |
119 TInt error = RProperty::Get( KUidSystemCategory, |
119 TInt error = RProperty::Get( KUidSystemCategory, |
120 KPSUidGprsStatusValue, |
120 KPSUidGprsStatusValue, |
121 connectionStatus ); |
121 connectionStatus ); |
122 |
122 |
123 if ( connectionStatus == EPSGprsUnattached ) |
123 if ( connectionStatus == EPSGprsUnattached ) |
124 { |
124 { |
303 |
303 |
304 __PHSLOGSTRING1("[PHS] NEW DIVERT STATUS:: %d", aDivertNotify.iPreviousCfStatus ); |
304 __PHSLOGSTRING1("[PHS] NEW DIVERT STATUS:: %d", aDivertNotify.iPreviousCfStatus ); |
305 TInt package = aDivertNotify.iPreviousCfStatus; |
305 TInt package = aDivertNotify.iPreviousCfStatus; |
306 TPckg<TInt> indicatorPckg( package ); |
306 TPckg<TInt> indicatorPckg( package ); |
307 TInt error = iRepository->Set( KCtsyUnconditionalCFStatus, indicatorPckg ); |
307 TInt error = iRepository->Set( KCtsyUnconditionalCFStatus, indicatorPckg ); |
308 __PHSLOGSTRING("[PHS]<-- CPsetSAObserver::NotifyDivertChange" ); |
308 __PHSLOGSTRING("[PHS]<-- CPsetSAObserver::NotifyDivertChange" ); |
309 } |
309 } |
310 |
310 |
311 // --------------------------------------------------------------------------- |
311 // --------------------------------------------------------------------------- |
312 // |
312 // |
313 // Handles indicators when no ALS. |
313 // Handles indicators when no ALS. |