coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp
changeset 29 6a787171e1de
parent 21 c4cbaa4fb734
child 46 eea20ed08f4b
equal deleted inserted replaced
28:b0b858956ed5 29:6a787171e1de
    91     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Power save supported=%d"), iPowerSaveSupported ) );
    91     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Power save supported=%d"), iPowerSaveSupported ) );
    92 
    92 
    93     iNoPowerKeySupported = FeatureManager::FeatureSupported( KFeatureIdNoPowerkey );
    93     iNoPowerKeySupported = FeatureManager::FeatureSupported( KFeatureIdNoPowerkey );
    94     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: No power key supported=%d"), iNoPowerKeySupported ) );
    94     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: No power key supported=%d"), iNoPowerKeySupported ) );
    95     
    95     
    96     iFmTxSupported = FeatureManager::FeatureSupported( KFeatureIdFmtx );
    96 //    iFmTxSupported = FeatureManager::FeatureSupported( KFeatureIdFmtx );
    97     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: FM TX supported=%d"), iFmTxSupported ) );
    97  //   TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: FM TX supported=%d"), iFmTxSupported ) );
    98 
    98 
    99     iPenEnabled = AknLayoutUtils::PenEnabled();
    99     iPenEnabled = AknLayoutUtils::PenEnabled();
   100     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Pen enabled=%d"), iPenEnabled ) );
   100     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Pen enabled=%d"), iPenEnabled ) );
   101     
   101     
   102     iVmbxCallDivertIconSupported = FeatureManager::FeatureSupported( KFeatureIdVmbxCallDivertIcon );
   102     iVmbxCallDivertIconSupported = FeatureManager::FeatureSupported( KFeatureIdVmbxCallDivertIcon );
   103     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: VMBX call divert icon supported=%d"), iVmbxCallDivertIconSupported ) );
   103     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: VMBX call divert icon supported=%d"), iVmbxCallDivertIconSupported ) );
   104     
   104     
   105     iTouchUnlockStrokeSupported = FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke );
   105     iTouchUnlockStrokeSupported = FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke );
   106     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Touch unlock stroke supported=%d"), iTouchUnlockStrokeSupported ) );
   106     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Touch unlock stroke supported=%d"), iTouchUnlockStrokeSupported ) );
   107     
   107     
   108     iFmTxRdsTextSupported = FeatureManager::FeatureSupported( KFeatureIdFfFmtxRdsText );
   108 //    iFmTxRdsTextSupported = FeatureManager::FeatureSupported( KFeatureIdFfFmtxRdsText );
   109     TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: FM TX RDS-TEXT supported=%d"), iFmTxRdsTextSupported ) );
   109 //    TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: FM TX RDS-TEXT supported=%d"), iFmTxRdsTextSupported ) );
   110     
   110     
   111     CRepository* repository = NULL;
   111     CRepository* repository = NULL;
   112     
   112     
   113     TRAPD( err, repository = CRepository::NewL( KCRUidCoreApplicationUIsConf ) );
   113     TRAPD( err, repository = CRepository::NewL( KCRUidCoreApplicationUIsConf ) );
   114     
   114     
   178                                                iBtSupported( EFalse ),
   178                                                iBtSupported( EFalse ),
   179                                                iSimSupported( ETrue ),
   179                                                iSimSupported( ETrue ),
   180                                                iGripNotSupported( ETrue ),
   180                                                iGripNotSupported( ETrue ),
   181                                                iPowerSaveSupported( EFalse ),
   181                                                iPowerSaveSupported( EFalse ),
   182                                                iNoPowerKeySupported( EFalse ),
   182                                                iNoPowerKeySupported( EFalse ),
   183                                                iFmTxSupported( EFalse ),
   183 //                                               iFmTxSupported( EFalse ),
   184                                                iPenEnabled( EFalse ),
   184                                                iPenEnabled( EFalse ),
   185                                                iVmbxCallDivertIconSupported( EFalse ),
   185                                                iVmbxCallDivertIconSupported( EFalse ),
   186                                                iTouchUnlockStrokeSupported( EFalse ),
   186                                                iTouchUnlockStrokeSupported( EFalse )
   187                                                iFmTxRdsTextSupported( EFalse )
   187 //                                               iFmTxRdsTextSupported( EFalse )
   188 
   188 
   189     {
   189     {
   190     }
   190     }
   191 
   191 
   192 // ----------------------------------------------------------------------------
   192 // ----------------------------------------------------------------------------
   367 //  
   367 //  
   368 TBool CSysApFeatureManager::NoPowerKeySupported() const
   368 TBool CSysApFeatureManager::NoPowerKeySupported() const
   369     {
   369     {
   370     return iNoPowerKeySupported;
   370     return iNoPowerKeySupported;
   371     }
   371     }
   372 
   372 /*
   373 // ----------------------------------------------------------------------------
   373 // ----------------------------------------------------------------------------
   374 // CSysApFeatureManager::FmTxSupported()
   374 // CSysApFeatureManager::FmTxSupported()
   375 // ----------------------------------------------------------------------------
   375 // ----------------------------------------------------------------------------
   376 //    
   376 //    
   377 TBool CSysApFeatureManager::FmTxSupported() const
   377 TBool CSysApFeatureManager::FmTxSupported() const
   378     {
   378     {
   379     return iFmTxSupported;
   379     return iFmTxSupported;
   380     }
   380     }
   381 
   381 */
   382 // ----------------------------------------------------------------------------
   382 // ----------------------------------------------------------------------------
   383 // CSysApFeatureManager::PenEnabled()
   383 // CSysApFeatureManager::PenEnabled()
   384 // ----------------------------------------------------------------------------
   384 // ----------------------------------------------------------------------------
   385 //
   385 //
   386 TBool CSysApFeatureManager::PenEnabled() const
   386 TBool CSysApFeatureManager::PenEnabled() const
   403 //     
   403 //     
   404 TBool CSysApFeatureManager::TouchUnlockStrokeSupported() const
   404 TBool CSysApFeatureManager::TouchUnlockStrokeSupported() const
   405     {
   405     {
   406     return iTouchUnlockStrokeSupported;
   406     return iTouchUnlockStrokeSupported;
   407     }
   407     }
   408 
   408 /*
   409 // ----------------------------------------------------------------------------
   409 // ----------------------------------------------------------------------------
   410 // CSysApFeatureManager::FmTxRdsTextSupported()
   410 // CSysApFeatureManager::FmTxRdsTextSupported()
   411 // ----------------------------------------------------------------------------
   411 // ----------------------------------------------------------------------------
   412 //     
   412 //     
   413 TBool CSysApFeatureManager::FmTxRdsTextSupported() const
   413 TBool CSysApFeatureManager::FmTxRdsTextSupported() const
   414     {
   414     {
   415     return iFmTxRdsTextSupported;
   415     return iFmTxRdsTextSupported;
   416     }
   416     }
   417 
   417 */
   418 // End of File
   418 // End of File
   419 
   419 
   420 
   420 
   421 
   421