|
1 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ |
|
2 /* vim: set ts=2 et sw=2 tw=80: */ |
|
3 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
|
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 |
|
7 #ifndef mozilla_dom_bluetooth_bluetoothhfpmanagerbase_h__ |
|
8 #define mozilla_dom_bluetooth_bluetoothhfpmanagerbase_h__ |
|
9 |
|
10 #include "BluetoothProfileManagerBase.h" |
|
11 |
|
12 BEGIN_BLUETOOTH_NAMESPACE |
|
13 |
|
14 class BluetoothHfpManagerBase : public BluetoothProfileManagerBase |
|
15 { |
|
16 public: |
|
17 /** |
|
18 * Returns true if Sco is connected. |
|
19 */ |
|
20 virtual bool IsScoConnected() = 0; |
|
21 }; |
|
22 |
|
23 #define BT_DECL_HFP_MGR_BASE \ |
|
24 BT_DECL_PROFILE_MGR_BASE \ |
|
25 virtual bool IsScoConnected() MOZ_OVERRIDE; |
|
26 |
|
27 END_BLUETOOTH_NAMESPACE |
|
28 |
|
29 #endif //#ifndef mozilla_dom_bluetooth_bluetoothhfpmanagerbase_h__ |