diff -r 2a5d4ab426d3 -r d1c62c765e48 phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp --- a/phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp Fri Sep 03 13:33:36 2010 +0300 +++ b/phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp Fri Sep 17 17:09:12 2010 +0300 @@ -19,7 +19,6 @@ // INCLUDE FILES #include #include -#include #include #include @@ -75,28 +74,12 @@ KPSUidCtsyCallInformation, KCTsyCallState, this ); - - // Set up notifications for displaying Telephony info on the title pane - CPhonePubSubProxy::Instance()->NotifyChangeL( - KPSUidTelInformation, - KTelDisplayInfo, - this ); - + // Set up notifications for Sim security state values. CPhonePubSubProxy::Instance()->NotifyChangeL( KPSUidStartup, KStartupSimSecurityStatus, this ); - - if ( CPhoneCenRepProxy::Instance()->IsTelephonyFeatureSupported( - KTelephonyLVFlagSwivelInDevice )) - { - // Set up notifications for Swivel state. - CPhonePubSubProxy::Instance()->NotifyChangeL( - KPSUidHWRM, - KHWRMGripStatus, - this ); - } } // --------------------------------------------------------- @@ -110,59 +93,6 @@ } // --------------------------------------------------------- -// CPhoneSystemEventHandler::HandleSystemEventL -// --------------------------------------------------------- -// -void CPhoneSystemEventHandler::HandleSystemEventL( const TWsEvent& aEvent ) - { - iStateMachine->State()->HandleSystemEventL( aEvent ); - } - -// --------------------------------------------------------- -// CPhoneSystemEventHandler::HandleForegroundEventL -// --------------------------------------------------------- -// -void CPhoneSystemEventHandler::HandleForegroundEventL( TBool aForeground ) - { - iStateMachine->State()->HandleForegroundEventL( aForeground ); - } - -// --------------------------------------------------------- -// CPhoneSystemEventHandler::HandlePhoneForegroundEventL -// --------------------------------------------------------- -// -void CPhoneSystemEventHandler::HandlePhoneForegroundEventL() - { - iStateMachine->State()->HandlePhoneForegroundEventL(); - } - - // --------------------------------------------------------- -// CPhoneSystemEventHandler::HandlePhoneFocusLostEventL -// --------------------------------------------------------- -// -void CPhoneSystemEventHandler::HandlePhoneFocusLostEventL() - { - iStateMachine->State()->HandlePhoneFocusLostEventL(); - } -// --------------------------------------------------------- -// CPhoneSystemEventHandler::HandleIdleForegroundEventL -// --------------------------------------------------------- -// -void CPhoneSystemEventHandler::HandleIdleForegroundEventL() - { - iStateMachine->State()->HandleIdleForegroundEventL(); - } - -// --------------------------------------------------------- -// CPhoneSystemEventHandler::HandleKeyLockEnabled -// --------------------------------------------------------- -// -void CPhoneSystemEventHandler::HandleKeyLockEnabled( TBool aKeylockEnabled ) - { - iStateMachine->State()->HandleKeyLockEnabled( aKeylockEnabled ); - } - -// --------------------------------------------------------- // CPhoneSystemEventHandler::HandlePhoneStartupL // --------------------------------------------------------- // @@ -183,15 +113,4 @@ iStateMachine->State()->HandlePropertyChangedL( aCategory, aKey, aValue ); } -// ----------------------------------------------------------- -// CPhoneSystemEventHandler::HandleCenRepChangeL -// ----------------------------------------------------------- -// -void CPhoneSystemEventHandler::HandleCenRepChangeL( - const TUid& aUid, - const TUint aId ) - { - iStateMachine->State()->HandleCenRepChangeL( aUid, aId ); - } - // End of File