phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp
branchRCL_3
changeset 14 24062c24fe38
parent 0 5f000ab63145
child 15 2a26698d78ba
--- a/phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp	Fri Feb 19 22:50:26 2010 +0200
+++ b/phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp	Fri Mar 12 15:42:40 2010 +0200
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -22,6 +22,9 @@
 #include <UikonInternalPSKeys.h>
 #include <startupdomainpskeys.h>
 #include <hwrmdomainpskeys.h>
+#include <oem/SimLockUiKeys.h>
+#include <featmgr.h>
+#include <coreapplicationuisdomainpskeys.h>
 
 #include "cphonesystemeventhandler.h"
 #include "mphonestate.h"
@@ -97,6 +100,24 @@
             KHWRMGripStatus,
             this );
         }
+    
+    if ( FeatureManager::FeatureSupported( KFeatureIdFfSimlockUi ) )
+       {
+        //Set up notifications for Sim Lock Dialogs values.
+        CPhonePubSubProxy::Instance()->NotifyChangeL(
+            KSimLockProperty,
+            ESimLockActiveStatus,
+            this );
+       }
+
+    if ( FeatureManager::FeatureSupported( KFeatureIdFfEntryPointForVideoShare ) )
+        {
+        // Set up notifications for Video Share (un)availability
+        CPhonePubSubProxy::Instance()->NotifyChangeL(
+            KPSUidCoreApplicationUIs,
+            KCoreAppUIsVideoSharingIndicator,
+            this );
+        }
     }
 
 // ---------------------------------------------------------