15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include "PSetCallDivertingBasicImpl.h" |
20 #include "PSetCallDivertingBasicImpl.h" |
21 |
21 |
22 #include <badesca.h> |
22 #include <badesca.h> |
23 #include <etelmm.h> |
23 #include <etelmm.h> |
24 #include <e32math.h> |
24 #include <e32math.h> |
25 #include <vmnumber.h> |
25 // <-- QT PHONE START --> |
|
26 //#include <vmnumber.h> |
|
27 // <-- QT PHONE END--> |
26 #include <e32svr.h> |
28 #include <e32svr.h> |
27 #include <featmgr.h> |
29 #include <featmgr.h> |
28 #include <centralrepository.h> |
30 #include <centralrepository.h> |
29 #include <SettingsInternalCRKeys.h> |
31 #include <settingsinternalcrkeys.h> |
30 |
32 |
31 #include "PsetCallDiverting.h" |
33 #include "psetcalldiverting.h" |
32 #include "PsetContainer.h" |
34 #include "psetcontainer.h" |
33 #include "MPsetDivertObs.h" |
35 #include "mpsetdivertobs.h" |
34 #include "PsetTelephony.h" |
36 #include "PsetTelephony.h" |
35 #include "PSetPanic.h" |
37 #include "PSetPanic.h" |
36 #include "MPsetRequestObs.h" |
38 #include "mpsetrequestobs.h" |
37 #include "PSetUtility.h" |
39 #include "PSetUtility.h" |
38 #include "PhoneSettingsLogger.h" |
40 #include "PhoneSettingsLogger.h" |
39 #include "PsetSAObserver.h" |
41 #include "psetsaobserver.h" |
40 |
42 |
41 // LOCAL CONSTANTS AND MACROS |
43 // LOCAL CONSTANTS AND MACROS |
42 _LIT( KPSetIntNbr, "+" ); |
44 _LIT( KPSetIntNbr, "+" ); |
43 _LIT( KPSNameOfClass, "CPSetCallDivertingBasicImpl" ); |
45 _LIT( KPSNameOfClass, "CPSetCallDivertingBasicImpl" ); |
44 |
46 |
201 case EPSetChangeDivert: |
203 case EPSetChangeDivert: |
202 { |
204 { |
203 __PHSLOGSTRING("[PHS]--> CPSetCallDivertingBasicImpl::RunL: EPSetChangeDivert" ); |
205 __PHSLOGSTRING("[PHS]--> CPSetCallDivertingBasicImpl::RunL: EPSetChangeDivert" ); |
204 //Notify Observer |
206 //Notify Observer |
205 iDivertStatus.iStatus = PSetUtility::GetChangeInfoStatus( iChangeInfo.iAction ); |
207 iDivertStatus.iStatus = PSetUtility::GetChangeInfoStatus( iChangeInfo.iAction ); |
206 |
208 // <-- QT PHONE START --> |
|
209 iDivertStatus.iNumber = iChangeInfo.iNumber.iTelNumber; |
|
210 iDivertStatus.iCondition = PSetUtility::GetDivertReason(iReason); |
|
211 iDivertStatus.iNoReplyTimer = iChangeInfo.iTimeout; |
|
212 // <-- QT PHONE END --> |
207 // Check is done because of VOIP notification functionality(PSetNotesUI). |
213 // Check is done because of VOIP notification functionality(PSetNotesUI). |
208 if ( iVoiceDivert && !iVideoDivert ) |
214 if ( iVoiceDivert && !iVideoDivert ) |
209 { |
215 { |
210 iDivertStatus.iServiceGroup = EServiceGroupVoice; |
216 iDivertStatus.iServiceGroup = EServiceGroupVoice; |
211 } |
217 } |