mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1033273 - Part 1: Add InitHfpInterface/DeinitHfpinterface. r=btian
This commit is contained in:
parent
07f4910a6f
commit
a1f4838926
@ -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