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> |
37 #include "tphonecmdparamstring.h" |
38 #include "tphonecmdparamstring.h" |
38 #include "tphonecmdparamcallheaderdata.h" |
39 #include "tphonecmdparamcallheaderdata.h" |
39 #include "tphonecmdparamcallstatedata.h" |
40 #include "tphonecmdparamcallstatedata.h" |
40 #include "phonestatedefinitionsgsm.h" |
41 #include "phonestatedefinitionsgsm.h" |
41 #include "phonelogger.h" |
42 #include "phonelogger.h" |
|
43 #include "cphonepubsubproxy.h" |
42 |
44 |
43 // ================= MEMBER FUNCTIONS ======================= |
45 // ================= MEMBER FUNCTIONS ======================= |
44 |
46 |
45 // C++ default constructor can NOT contain any code, that |
47 // C++ default constructor can NOT contain any code, that |
46 // might leave. |
48 // might leave. |
76 // Re-enable global notes |
78 // Re-enable global notes |
77 TPhoneCmdParamBoolean globalNotifierParam; |
79 TPhoneCmdParamBoolean globalNotifierParam; |
78 globalNotifierParam.SetBoolean( EFalse ); |
80 globalNotifierParam.SetBoolean( EFalse ); |
79 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
81 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
80 &globalNotifierParam ); |
82 &globalNotifierParam ); |
|
83 |
|
84 CPhonePubSubProxy::Instance()->ChangePropertyValue( |
|
85 KPSUidScreenSaver, |
|
86 KScreenSaverAllowScreenSaver, |
|
87 EPhoneScreensaverAllowed ); |
81 } |
88 } |
82 |
89 |
83 // ----------------------------------------------------------- |
90 // ----------------------------------------------------------- |
84 // CPhoneTwoSingles::NewL() |
91 // CPhoneTwoSingles::NewL() |
85 // Constructor |
92 // Constructor |
387 void CPhoneTwoSingles::HandleIncomingL( TInt aCallId ) |
394 void CPhoneTwoSingles::HandleIncomingL( TInt aCallId ) |
388 { |
395 { |
389 __LOGMETHODSTARTEND( EPhoneUIStates, |
396 __LOGMETHODSTARTEND( EPhoneUIStates, |
390 "CPhoneTwoSingles::HandleIncomingL()"); |
397 "CPhoneTwoSingles::HandleIncomingL()"); |
391 |
398 |
|
399 CPhonePubSubProxy::Instance()->ChangePropertyValue( |
|
400 KPSUidScreenSaver, |
|
401 KScreenSaverAllowScreenSaver, |
|
402 EPhoneScreensaverNotAllowed ); |
|
403 |
392 BeginUiUpdateLC(); |
404 BeginUiUpdateLC(); |
393 |
405 |
394 // Hide the number entry if it exists |
406 // Hide the number entry if it exists |
395 if ( IsNumberEntryUsedL() ) |
407 if ( IsNumberEntryUsedL() ) |
396 { |
408 { |