coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp
branchRCL_3
changeset 12 7645e9ce10dc
parent 4 0fdb7f6b0309
child 58 0818dd463d41
equal deleted inserted replaced
4:0fdb7f6b0309 12:7645e9ce10dc
   109     iTouchUnlockStrokeSupported = FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke );
   109     iTouchUnlockStrokeSupported = FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke );
   110     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Touch unlock stroke supported=%d"), iTouchUnlockStrokeSupported ) );
   110     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Touch unlock stroke supported=%d"), iTouchUnlockStrokeSupported ) );
   111     
   111     
   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     
       
   115     iPowerKeyIsLockKey = FeatureManager::FeatureSupported( KFeatureIdFfPowerKeyAsKeyguard );
       
   116     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Power Key as keyguard supported=%d"), iPowerKeyIsLockKey ) );
   114     
   117     
   115     CRepository* repository = NULL;
   118     CRepository* repository = NULL;
   116     
   119     
   117     TRAPD( err, repository = CRepository::NewL( KCRUidCoreApplicationUIsConf ) );
   120     TRAPD( err, repository = CRepository::NewL( KCRUidCoreApplicationUIsConf ) );
   118     
   121     
   186                                                iNoPowerKeySupported( EFalse ),
   189                                                iNoPowerKeySupported( EFalse ),
   187                                                iFmTxSupported( EFalse ),
   190                                                iFmTxSupported( EFalse ),
   188                                                iPenEnabled( EFalse ),
   191                                                iPenEnabled( EFalse ),
   189                                                iVmbxCallDivertIconSupported( EFalse ),
   192                                                iVmbxCallDivertIconSupported( EFalse ),
   190                                                iTouchUnlockStrokeSupported( EFalse ),
   193                                                iTouchUnlockStrokeSupported( EFalse ),
   191                                                iFmTxRdsTextSupported( EFalse )
   194                                                iFmTxRdsTextSupported( EFalse ),
       
   195                                                iPowerKeyIsLockKey ( EFalse )
   192 
   196 
   193     {
   197     {
   194     }
   198     }
   195 
   199 
   196 // ----------------------------------------------------------------------------
   200 // ----------------------------------------------------------------------------
   426 TBool CSysApFeatureManager::FmTxRdsTextSupported() const
   430 TBool CSysApFeatureManager::FmTxRdsTextSupported() const
   427     {
   431     {
   428     return iFmTxRdsTextSupported;
   432     return iFmTxRdsTextSupported;
   429     }
   433     }
   430 
   434 
       
   435 //-----------------------------------------------------------------------------
       
   436 // CSysApFeatureManager::PowerKeyIsLockKey()
       
   437 //-----------------------------------------------------------------------------
       
   438 //
       
   439 TBool CSysApFeatureManager::PowerKeyIsLockKey() const
       
   440     {
       
   441     return iPowerKeyIsLockKey;
       
   442     }
       
   443 
   431 // End of File
   444 // End of File
   432 
   445 
   433 
   446 
   434 
   447