coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp
branchRCL_3
changeset 58 0818dd463d41
parent 12 7645e9ce10dc
child 62 924385140d98
equal deleted inserted replaced
57:5e7d68cc22e0 58:0818dd463d41
     1 /*
     1 /*
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2003-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".
   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 ) );
   117     
   120     
   118     CRepository* repository = NULL;
   121     CRepository* repository = NULL;
   119     
   122     
   120     TRAPD( err, repository = CRepository::NewL( KCRUidCoreApplicationUIsConf ) );
   123     TRAPD( err, repository = CRepository::NewL( KCRUidCoreApplicationUIsConf ) );
   121     
   124     
   190                                                iFmTxSupported( EFalse ),
   193                                                iFmTxSupported( EFalse ),
   191                                                iPenEnabled( EFalse ),
   194                                                iPenEnabled( EFalse ),
   192                                                iVmbxCallDivertIconSupported( EFalse ),
   195                                                iVmbxCallDivertIconSupported( EFalse ),
   193                                                iTouchUnlockStrokeSupported( EFalse ),
   196                                                iTouchUnlockStrokeSupported( EFalse ),
   194                                                iFmTxRdsTextSupported( EFalse ),
   197                                                iFmTxRdsTextSupported( EFalse ),
   195                                                iPowerKeyIsLockKey ( EFalse )
   198                                                iPowerKeyIsLockKey ( EFalse ),
   196 
   199                                                iGanSupported( EFalse )
   197     {
   200     {
   198     }
   201     }
   199 
   202 
   200 // ----------------------------------------------------------------------------
   203 // ----------------------------------------------------------------------------
   201 // CSysApFeatureManager::~CSysApFeatureManager() 
   204 // CSysApFeatureManager::~CSysApFeatureManager() 
   439 TBool CSysApFeatureManager::PowerKeyIsLockKey() const
   442 TBool CSysApFeatureManager::PowerKeyIsLockKey() const
   440     {
   443     {
   441     return iPowerKeyIsLockKey;
   444     return iPowerKeyIsLockKey;
   442     }
   445     }
   443 
   446 
       
   447 // ----------------------------------------------------------------------------
       
   448 // CSysApFeatureManager::GanSupported()
       
   449 // ----------------------------------------------------------------------------
       
   450 //  
       
   451 TBool CSysApFeatureManager::GanSupported() const
       
   452     {
       
   453     return iGanSupported;
       
   454     }        
       
   455 
   444 // End of File
   456 // End of File
   445 
   457 
   446 
   458 
   447 
   459