coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp
branchRCL_3
changeset 18 0818dd463d41
parent 2 7645e9ce10dc
child 19 924385140d98
--- a/coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp	Thu Jul 15 18:49:38 2010 +0300
+++ b/coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp	Thu Aug 19 10:05:08 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -114,6 +114,9 @@
     
     iPowerKeyIsLockKey = FeatureManager::FeatureSupported( KFeatureIdFfPowerKeyAsKeyguard );
     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Power Key as keyguard supported=%d"), iPowerKeyIsLockKey ) );
+
+    iGanSupported = FeatureManager::FeatureSupported( KFeatureIdFfGenericAccessNetwork );
+    TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: GAN supported=%d"), iGanSupported ) );
     
     CRepository* repository = NULL;
     
@@ -192,8 +195,8 @@
                                                iVmbxCallDivertIconSupported( EFalse ),
                                                iTouchUnlockStrokeSupported( EFalse ),
                                                iFmTxRdsTextSupported( EFalse ),
-                                               iPowerKeyIsLockKey ( EFalse )
-
+                                               iPowerKeyIsLockKey ( EFalse ),
+                                               iGanSupported( EFalse )
     {
     }
 
@@ -441,6 +444,15 @@
     return iPowerKeyIsLockKey;
     }
 
+// ----------------------------------------------------------------------------
+// CSysApFeatureManager::GanSupported()
+// ----------------------------------------------------------------------------
+//  
+TBool CSysApFeatureManager::GanSupported() const
+    {
+    return iGanSupported;
+    }        
+
 // End of File