bluetoothengine/bteng/src/btengsrvpluginmgr.cpp
changeset 23 988cddd6adbd
parent 0 f63038272f30
child 16 b23265fb36da
equal deleted inserted replaced
22:4255033c5d30 23:988cddd6adbd
   227 
   227 
   228 TBool CBTEngSrvPluginMgr::FilterByEnterpriseDisablementModeL(TUid aUid) const
   228 TBool CBTEngSrvPluginMgr::FilterByEnterpriseDisablementModeL(TUid aUid) const
   229 	{
   229 	{
   230 	TRACE_FUNC_ENTRY
   230 	TRACE_FUNC_ENTRY
   231 	TBool want = EFalse;
   231 	TBool want = EFalse;
   232 	switch ( iServer->EnterpriseEnablementMode() )
   232 	switch ( BluetoothFeatures::EnterpriseEnablementL() )
   233 		{
   233 		{
   234 	case BluetoothFeatures::EDisabled:
   234 	case BluetoothFeatures::EDisabled:
   235 		// In Disabled mode all plugins are filtered out.
   235 		// In Disabled mode all plugins are filtered out.
   236 		break;
   236 		break;
   237 	case BluetoothFeatures::EDataProfilesDisabled:
   237 	case BluetoothFeatures::EDataProfilesDisabled:
   320 void CBTEngSrvPluginMgr::LoadBTSapPluginL()
   320 void CBTEngSrvPluginMgr::LoadBTSapPluginL()
   321     {
   321     {
   322     TRACE_FUNC_ENTRY
   322     TRACE_FUNC_ENTRY
   323 
   323 
   324 	// SAP is supported in neither Data Profiles Disabled nor Disabled mode.
   324 	// SAP is supported in neither Data Profiles Disabled nor Disabled mode.
   325     if ( iServer->EnterpriseEnablementMode() != BluetoothFeatures::EEnabled )
   325     if ( BluetoothFeatures::EnterpriseEnablementL() != BluetoothFeatures::EEnabled )
   326         {
   326         {
   327         TRACE_INFO( ( _L( "\tno we're not... Bluetooth is enterprise-IT-disabled" ) ) )
   327         TRACE_INFO( ( _L( "\tno we're not... Bluetooth is enterprise-IT-disabled" ) ) )
   328         User::Leave(KErrNotSupported);
   328         User::Leave(KErrNotSupported);
   329         }
   329         }
   330     
   330