phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp
branchRCL_3
changeset 4 24062c24fe38
parent 0 5f000ab63145
child 5 2a26698d78ba
equal deleted inserted replaced
3:8871b09be73b 4:24062c24fe38
     1 /*
     1 /*
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 #include <telinformationpskeys.h>
    20 #include <telinformationpskeys.h>
    21 #include <telephonyvariant.hrh>
    21 #include <telephonyvariant.hrh>
    22 #include <UikonInternalPSKeys.h>
    22 #include <UikonInternalPSKeys.h>
    23 #include <startupdomainpskeys.h>
    23 #include <startupdomainpskeys.h>
    24 #include <hwrmdomainpskeys.h>
    24 #include <hwrmdomainpskeys.h>
       
    25 #include <oem/SimLockUiKeys.h>
       
    26 #include <featmgr.h>
       
    27 #include <coreapplicationuisdomainpskeys.h>
    25 
    28 
    26 #include "cphonesystemeventhandler.h"
    29 #include "cphonesystemeventhandler.h"
    27 #include "mphonestate.h"
    30 #include "mphonestate.h"
    28 #include "mphonestatemachine.h"
    31 #include "mphonestatemachine.h"
    29 #include "cphonecenrepproxy.h"
    32 #include "cphonecenrepproxy.h"
    95         CPhonePubSubProxy::Instance()->NotifyChangeL(
    98         CPhonePubSubProxy::Instance()->NotifyChangeL(
    96             KPSUidHWRM,
    99             KPSUidHWRM,
    97             KHWRMGripStatus,
   100             KHWRMGripStatus,
    98             this );
   101             this );
    99         }
   102         }
       
   103     
       
   104     if ( FeatureManager::FeatureSupported( KFeatureIdFfSimlockUi ) )
       
   105        {
       
   106         //Set up notifications for Sim Lock Dialogs values.
       
   107         CPhonePubSubProxy::Instance()->NotifyChangeL(
       
   108             KSimLockProperty,
       
   109             ESimLockActiveStatus,
       
   110             this );
       
   111        }
       
   112 
       
   113     if ( FeatureManager::FeatureSupported( KFeatureIdFfEntryPointForVideoShare ) )
       
   114         {
       
   115         // Set up notifications for Video Share (un)availability
       
   116         CPhonePubSubProxy::Instance()->NotifyChangeL(
       
   117             KPSUidCoreApplicationUIs,
       
   118             KCoreAppUIsVideoSharingIndicator,
       
   119             this );
       
   120         }
   100     }
   121     }
   101 
   122 
   102 // ---------------------------------------------------------
   123 // ---------------------------------------------------------
   103 // CPhoneSystemEventHandler::CPhoneSystemEventHandler
   124 // CPhoneSystemEventHandler::CPhoneSystemEventHandler
   104 // C++ default constructor
   125 // C++ default constructor