phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp
changeset 77 2be0b271d017
parent 72 c76a0b1755b9
--- a/phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp	Fri Sep 17 08:29:19 2010 +0300
+++ b/phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp	Mon Oct 04 00:16:48 2010 +0300
@@ -19,7 +19,6 @@
 // INCLUDE FILES
 #include <telinformationpskeys.h>
 #include <telephonyvariant.hrh>
-#include <UikonInternalPSKeys.h>
 #include <startupdomainpskeys.h>
 #include <hwrmdomainpskeys.h>
 
@@ -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