coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp
branchRCL_3
changeset 82 4610cd70c542
parent 63 c2c61fdca848
equal deleted inserted replaced
70:739cef680932 82:4610cd70c542
     1 /*
     1 /*
     2 * Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2003-2009 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".
   112     iFmTxRdsTextSupported = FeatureManager::FeatureSupported( KFeatureIdFfFmtxRdsText );
   112     iFmTxRdsTextSupported = FeatureManager::FeatureSupported( KFeatureIdFfFmtxRdsText );
   113     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: FM TX RDS-TEXT supported=%d"), iFmTxRdsTextSupported ) );
   113     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: FM TX RDS-TEXT supported=%d"), iFmTxRdsTextSupported ) );
   114     
   114     
   115     iPowerKeyIsLockKey = FeatureManager::FeatureSupported( KFeatureIdFfPowerKeyAsKeyguard );
   115     iPowerKeyIsLockKey = FeatureManager::FeatureSupported( KFeatureIdFfPowerKeyAsKeyguard );
   116     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Power Key as keyguard supported=%d"), iPowerKeyIsLockKey ) );
   116     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Power Key as keyguard supported=%d"), iPowerKeyIsLockKey ) );
   117 
       
   118     iGanSupported = FeatureManager::FeatureSupported( KFeatureIdFfGenericAccessNetwork );
       
   119     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: GAN supported=%d"), iGanSupported ) );
       
   120     
   117     
   121     CRepository* repository = NULL;
   118     CRepository* repository = NULL;
   122     
   119     
   123     TRAPD( err, repository = CRepository::NewL( KCRUidCoreApplicationUIsConf ) );
   120     TRAPD( err, repository = CRepository::NewL( KCRUidCoreApplicationUIsConf ) );
   124     
   121     
   193                                                iFmTxSupported( EFalse ),
   190                                                iFmTxSupported( EFalse ),
   194                                                iPenEnabled( EFalse ),
   191                                                iPenEnabled( EFalse ),
   195                                                iVmbxCallDivertIconSupported( EFalse ),
   192                                                iVmbxCallDivertIconSupported( EFalse ),
   196                                                iTouchUnlockStrokeSupported( EFalse ),
   193                                                iTouchUnlockStrokeSupported( EFalse ),
   197                                                iFmTxRdsTextSupported( EFalse ),
   194                                                iFmTxRdsTextSupported( EFalse ),
   198                                                iPowerKeyIsLockKey ( EFalse ),
   195                                                iPowerKeyIsLockKey ( EFalse )
   199                                                iGanSupported( EFalse )
   196 
   200     {
   197     {
   201     }
   198     }
   202 
   199 
   203 // ----------------------------------------------------------------------------
   200 // ----------------------------------------------------------------------------
   204 // CSysApFeatureManager::~CSysApFeatureManager() 
   201 // CSysApFeatureManager::~CSysApFeatureManager() 
   442 TBool CSysApFeatureManager::PowerKeyIsLockKey() const
   439 TBool CSysApFeatureManager::PowerKeyIsLockKey() const
   443     {
   440     {
   444     return iPowerKeyIsLockKey;
   441     return iPowerKeyIsLockKey;
   445     }
   442     }
   446 
   443 
   447 // ----------------------------------------------------------------------------
       
   448 // CSysApFeatureManager::GanSupported()
       
   449 // ----------------------------------------------------------------------------
       
   450 //  
       
   451 TBool CSysApFeatureManager::GanSupported() const
       
   452     {
       
   453     return iGanSupported;
       
   454     }        
       
   455 
       
   456 // End of File
   444 // End of File
   457 
   445 
   458 
   446 
   459 
   447