--- a/coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp Fri Feb 19 22:58:54 2010 +0200
+++ b/coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp Fri Mar 12 15:43:21 2010 +0200
@@ -112,6 +112,9 @@
iFmTxRdsTextSupported = FeatureManager::FeatureSupported( KFeatureIdFfFmtxRdsText );
TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: FM TX RDS-TEXT supported=%d"), iFmTxRdsTextSupported ) );
+ iPowerKeyIsLockKey = FeatureManager::FeatureSupported( KFeatureIdFfPowerKeyAsKeyguard );
+ TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Power Key as keyguard supported=%d"), iPowerKeyIsLockKey ) );
+
CRepository* repository = NULL;
TRAPD( err, repository = CRepository::NewL( KCRUidCoreApplicationUIsConf ) );
@@ -188,7 +191,8 @@
iPenEnabled( EFalse ),
iVmbxCallDivertIconSupported( EFalse ),
iTouchUnlockStrokeSupported( EFalse ),
- iFmTxRdsTextSupported( EFalse )
+ iFmTxRdsTextSupported( EFalse ),
+ iPowerKeyIsLockKey ( EFalse )
{
}
@@ -428,6 +432,15 @@
return iFmTxRdsTextSupported;
}
+//-----------------------------------------------------------------------------
+// CSysApFeatureManager::PowerKeyIsLockKey()
+//-----------------------------------------------------------------------------
+//
+TBool CSysApFeatureManager::PowerKeyIsLockKey() const
+ {
+ return iPowerKeyIsLockKey;
+ }
+
// End of File