36 #include <cpeloghandlingproxy.h> |
36 #include <cpeloghandlingproxy.h> |
37 #include <featmgr.h> |
37 #include <featmgr.h> |
38 #include <mccedtmfinterface.h> |
38 #include <mccedtmfinterface.h> |
39 #include <mpecontacthandling.h> |
39 #include <mpecontacthandling.h> |
40 #include <mpeloghandling.h> |
40 #include <mpeloghandling.h> |
41 #include <xqservicerequest.h> |
|
42 #include <xqappmgr.h> |
|
43 #include "phoneservices.h" |
41 #include "phoneservices.h" |
44 |
42 |
45 // CONSTANTS |
43 // CONSTANTS |
46 const TInt KDriveProfile ( 6 ); |
44 const TInt KDriveProfile ( 6 ); |
47 const TInt KPECallTimerOff = 0; |
45 const TInt KPECallTimerOff = 0; |
1404 TEFLOGSTRING( KTAOBJECT, "CPEPhoneModel::StepL: 16.1" ); |
1402 TEFLOGSTRING( KTAOBJECT, "CPEPhoneModel::StepL: 16.1" ); |
1405 __ASSERT_DEBUG( iMessageHandler, Panic( EPEPanicNullPointer ) ); |
1403 __ASSERT_DEBUG( iMessageHandler, Panic( EPEPanicNullPointer ) ); |
1406 __ASSERT_DEBUG( iEngineInfo, Panic( EPEPanicNullPointer ) ); |
1404 __ASSERT_DEBUG( iEngineInfo, Panic( EPEPanicNullPointer ) ); |
1407 iPhoneServices = new PhoneServices(*iMessageHandler, *iEngineInfo); |
1405 iPhoneServices = new PhoneServices(*iMessageHandler, *iEngineInfo); |
1408 TEFLOGSTRING( KTAOBJECT, "CPEPhoneModel::StepL: 16.2" ); |
1406 TEFLOGSTRING( KTAOBJECT, "CPEPhoneModel::StepL: 16.2" ); |
1409 break; |
|
1410 } |
|
1411 |
|
1412 case CPEPhoneModel::EPENetworkHandling: |
|
1413 { |
|
1414 TEFLOGSTRING( KTAOBJECT, "CPEPhoneModel::StepL: 18.1" ); |
|
1415 continueStepping = EFalse; |
1407 continueStepping = EFalse; |
1416 QString service("networkhandlingstarter"); |
|
1417 QString interface("com.nokia.symbian.IStart"); |
|
1418 QString operation("start()"); |
|
1419 XQApplicationManager appManager; |
|
1420 |
|
1421 QScopedPointer<XQAiwRequest> request( |
|
1422 appManager.create(service, interface, operation, false)); |
|
1423 if (request == NULL) { |
|
1424 TEFLOGSTRING(KTAOBJECT, |
|
1425 "CPEPhoneModel::StepL 18.2 error, service not found"); |
|
1426 break; |
|
1427 } |
|
1428 XQRequestInfo info; |
|
1429 info.setForeground(false); |
|
1430 request->setInfo(info); |
|
1431 request->setSynchronous(false); |
|
1432 if (!request->send()) { |
|
1433 int error = request->lastError(); |
|
1434 TEFLOGSTRING2(KTAOBJECT, |
|
1435 "CPEPhoneModel::StepL 18.3 error %d", error); |
|
1436 break; |
|
1437 } |
|
1438 TEFLOGSTRING(KTAOBJECT, "CPEPhoneModel::StepL: 18.4"); |
|
1439 break; |
1408 break; |
1440 } |
1409 } |
1441 |
1410 |
1442 default: |
1411 default: |
1443 { |
1412 { |