mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1033273 - Part 1: Add InitHfpInterface/DeinitHfpinterface. r=btian
This commit is contained in:
parent
54408ff0cb
commit
ffede25d1f
@ -146,6 +146,32 @@ BluetoothHfpManager::Init()
|
||||
return true;
|
||||
}
|
||||
|
||||
// static
|
||||
void
|
||||
BluetoothHfpManager::InitHfpInterface()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
/**
|
||||
* TODO:
|
||||
* Implement InitHfpInterface() for applications that want to create SCO
|
||||
* link without a HFP connection (e.g., VoIP).
|
||||
*/
|
||||
}
|
||||
|
||||
// static
|
||||
void
|
||||
BluetoothHfpManager::DeinitHfpInterface()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
/**
|
||||
* TODO:
|
||||
* Implement DeinitHfpInterface() for applications that want to create SCO
|
||||
* link without a HFP connection (e.g., VoIP).
|
||||
*/
|
||||
}
|
||||
|
||||
void
|
||||
BluetoothHfpManager::HandleShutdown()
|
||||
{
|
||||
|
@ -30,6 +30,8 @@ public:
|
||||
|
||||
static BluetoothHfpManager* Get();
|
||||
virtual ~BluetoothHfpManager() { }
|
||||
static void InitHfpInterface();
|
||||
static void DeinitHfpInterface();
|
||||
|
||||
bool ConnectSco();
|
||||
bool DisconnectSco();
|
||||
|
Loading…
Reference in New Issue
Block a user