equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // INCLUDES |
19 // INCLUDES |
|
20 #include <ScreensaverInternalPSKeys.h> |
20 #include <eikmenub.h> |
21 #include <eikmenub.h> |
21 #include <eikenv.h> |
22 #include <eikenv.h> |
22 #include <StringLoader.h> |
23 #include <StringLoader.h> |
23 #include <pevirtualengine.h> |
24 #include <pevirtualengine.h> |
24 #include <mpeengineinfo.h> |
25 #include <mpeengineinfo.h> |
39 #include "tphonecmdparamglobalnote.h" |
40 #include "tphonecmdparamglobalnote.h" |
40 #include "phonestatedefinitionsgsm.h" |
41 #include "phonestatedefinitionsgsm.h" |
41 #include "tphonecmdparamcallstatedata.h" |
42 #include "tphonecmdparamcallstatedata.h" |
42 #include "cphonekeys.h" |
43 #include "cphonekeys.h" |
43 #include "phonelogger.h" |
44 #include "phonelogger.h" |
|
45 #include "cphonepubsubproxy.h" |
44 |
46 |
45 // ================= MEMBER FUNCTIONS ======================= |
47 // ================= MEMBER FUNCTIONS ======================= |
46 |
48 |
47 // C++ default constructor can NOT contain any code, that |
49 // C++ default constructor can NOT contain any code, that |
48 // might leave. |
50 // might leave. |
79 TPhoneCmdParamBoolean globalNotifierParam; |
81 TPhoneCmdParamBoolean globalNotifierParam; |
80 globalNotifierParam.SetBoolean( EFalse ); |
82 globalNotifierParam.SetBoolean( EFalse ); |
81 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
83 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
82 &globalNotifierParam ); |
84 &globalNotifierParam ); |
83 |
85 |
|
86 CPhonePubSubProxy::Instance()->ChangePropertyValue( |
|
87 KPSUidScreenSaver, |
|
88 KScreenSaverAllowScreenSaver, |
|
89 EPhoneScreensaverAllowed ); |
84 |
90 |
85 DefineAndSetHoldFlagL(); |
91 DefineAndSetHoldFlagL(); |
86 |
92 |
87 } |
93 } |
88 |
94 |
459 callStateData.SetCallState( EPEStateRinging ); |
465 callStateData.SetCallState( EPEStateRinging ); |
460 iViewCommandHandle->HandleCommandL( |
466 iViewCommandHandle->HandleCommandL( |
461 EPhoneViewGetCallIdByState, &callStateData ); |
467 EPhoneViewGetCallIdByState, &callStateData ); |
462 |
468 |
463 if( callStateData.CallId() > KErrNotFound ) |
469 if( callStateData.CallId() > KErrNotFound ) |
464 { |
470 { |
|
471 CPhonePubSubProxy::Instance()->ChangePropertyValue( |
|
472 KPSUidScreenSaver, |
|
473 KScreenSaverAllowScreenSaver, |
|
474 EPhoneScreensaverNotAllowed ); |
|
475 |
465 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
476 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
466 iStateMachine->ChangeState( EPhoneStateWaitingInSingle ); |
477 iStateMachine->ChangeState( EPhoneStateWaitingInSingle ); |
467 } |
478 } |
468 else |
479 else |
469 { |
480 { |
837 void CPhoneConference::HandleDiallingL( TInt aCallId ) |
848 void CPhoneConference::HandleDiallingL( TInt aCallId ) |
838 { |
849 { |
839 __LOGMETHODSTARTEND( EPhoneUIStates, |
850 __LOGMETHODSTARTEND( EPhoneUIStates, |
840 "CPhoneConference::HandleDiallingL()"); |
851 "CPhoneConference::HandleDiallingL()"); |
841 |
852 |
|
853 CPhonePubSubProxy::Instance()->ChangePropertyValue( |
|
854 KPSUidScreenSaver, |
|
855 KScreenSaverAllowScreenSaver, |
|
856 EPhoneScreensaverNotAllowed ); |
|
857 |
842 BeginUiUpdateLC(); |
858 BeginUiUpdateLC(); |
843 |
859 |
844 CloseSelectionListL(); |
860 CloseSelectionListL(); |
845 |
861 |
846 SetNumberEntryVisibilityL(EFalse); |
862 SetNumberEntryVisibilityL(EFalse); |
919 // |
935 // |
920 void CPhoneConference::HandleIncomingL( TInt aCallId ) |
936 void CPhoneConference::HandleIncomingL( TInt aCallId ) |
921 { |
937 { |
922 __LOGMETHODSTARTEND( EPhoneUIStates, |
938 __LOGMETHODSTARTEND( EPhoneUIStates, |
923 "CPhoneConference::HandleIncomingL()"); |
939 "CPhoneConference::HandleIncomingL()"); |
|
940 |
|
941 CPhonePubSubProxy::Instance()->ChangePropertyValue( |
|
942 KPSUidScreenSaver, |
|
943 KScreenSaverAllowScreenSaver, |
|
944 EPhoneScreensaverNotAllowed ); |
924 |
945 |
925 BeginUiUpdateLC(); |
946 BeginUiUpdateLC(); |
926 |
947 |
927 // Hide the number entry if it exists |
948 // Hide the number entry if it exists |
928 if ( IsNumberEntryUsedL() ) |
949 if ( IsNumberEntryUsedL() ) |