зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1131653: Move GATT helper classes to BluetoothGattManager namespace, r=btian
Another patch to fix conflicting symbol names in the Bluetooth namespace.
This commit is contained in:
Родитель
f3bcd0dd2a
Коммит
92591b515d
|
@ -49,7 +49,8 @@ BluetoothGattManager::Get()
|
|||
return sBluetoothGattManager;
|
||||
}
|
||||
|
||||
class InitGattResultHandler MOZ_FINAL : public BluetoothGattResultHandler
|
||||
class BluetoothGattManager::InitGattResultHandler MOZ_FINAL
|
||||
: public BluetoothGattResultHandler
|
||||
{
|
||||
public:
|
||||
InitGattResultHandler(BluetoothProfileResultHandler* aRes)
|
||||
|
@ -107,7 +108,8 @@ BluetoothGattManager::InitGattInterface(BluetoothProfileResultHandler* aRes)
|
|||
new InitGattResultHandler(aRes));
|
||||
}
|
||||
|
||||
class CleanupResultHandler MOZ_FINAL : public BluetoothGattResultHandler
|
||||
class BluetoothGattManager::CleanupResultHandler MOZ_FINAL
|
||||
: public BluetoothGattResultHandler
|
||||
{
|
||||
public:
|
||||
CleanupResultHandler(BluetoothProfileResultHandler* aRes)
|
||||
|
@ -136,7 +138,8 @@ private:
|
|||
nsRefPtr<BluetoothProfileResultHandler> mRes;
|
||||
};
|
||||
|
||||
class CleanupResultHandlerRunnable MOZ_FINAL : public nsRunnable
|
||||
class BluetoothGattManager::CleanupResultHandlerRunnable MOZ_FINAL
|
||||
: public nsRunnable
|
||||
{
|
||||
public:
|
||||
CleanupResultHandlerRunnable(BluetoothProfileResultHandler* aRes)
|
||||
|
|
|
@ -25,6 +25,10 @@ public:
|
|||
virtual ~BluetoothGattManager();
|
||||
|
||||
private:
|
||||
class CleanupResultHandler;
|
||||
class CleanupResultHandlerRunnable;
|
||||
class InitGattResultHandler;
|
||||
|
||||
BluetoothGattManager();
|
||||
|
||||
void HandleShutdown();
|
||||
|
|
Загрузка…
Ссылка в новой задаче