equal
deleted
inserted
replaced
92 |
92 |
93 // Instantiate repository objects for later use |
93 // Instantiate repository objects for later use |
94 iAccessorySettingsRepository = CRepository::NewL( KCRUidAccessorySettings );*/ |
94 iAccessorySettingsRepository = CRepository::NewL( KCRUidAccessorySettings );*/ |
95 //iTelephonySettingsRepository = CRepository::NewL( KCRUidTelephonySettings ); |
95 //iTelephonySettingsRepository = CRepository::NewL( KCRUidTelephonySettings ); |
96 iTelephonyVariationRepository = CRepository::NewL( KCRUidTelVariation ); |
96 iTelephonyVariationRepository = CRepository::NewL( KCRUidTelVariation ); |
97 //iCoreApplicationRepository = CRepository::NewL( KCRUidCoreApplicationUIs ); |
97 iCoreApplicationRepository = CRepository::NewL( KCRUidCoreApplicationUIs ); |
98 |
98 |
99 TEFLOGSTRING( KTAOBJECT, "PE CPEExternalDataHandler::BaseConstructL 2" ); |
99 TEFLOGSTRING( KTAOBJECT, "PE CPEExternalDataHandler::BaseConstructL 2" ); |
100 } |
100 } |
101 |
101 |
102 // ----------------------------------------------------------------------------- |
102 // ----------------------------------------------------------------------------- |
126 else if ( EPECallDurationDisplaySetting == aSetting ) |
126 else if ( EPECallDurationDisplaySetting == aSetting ) |
127 { |
127 { |
128 errorCode = iCallDurationDisplay->Get( aValue ); |
128 errorCode = iCallDurationDisplay->Get( aValue ); |
129 TEFLOGSTRING2( KTAINT, "CPEExternalDataHandler::Get EPECallDurationDisplaySetting, error code: %d", errorCode ); |
129 TEFLOGSTRING2( KTAINT, "CPEExternalDataHandler::Get EPECallDurationDisplaySetting, error code: %d", errorCode ); |
130 } |
130 } |
|
131 else if ( EPENetworkConnectionAllowedSetting == aSetting ) |
|
132 { |
|
133 // Fetches setting that indicates if network connection is allowed, |
|
134 // i.e. is the phone in off-line mode. |
|
135 errorCode = iCoreApplicationRepository |
|
136 ->Get( KCoreAppUIsNetworkConnectionAllowed, aValue ); |
|
137 } |
131 else |
138 else |
132 { |
139 { |
133 errorCode = KErrNone; |
140 errorCode = KErrNone; |
134 aValue = 0; |
141 aValue = 0; |
135 } |
142 } |
136 |
143 |
137 // Process Common id |
144 // Process Common id |
138 return errorCode; |
145 return errorCode; |
139 } |
146 } |
140 |
147 |
141 // ----------------------------------------------------------------------------- |
148 // ----------------------------------------------------------------------------- |