[email protected] | 063d943 | 2013-01-25 09:26:01 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_ | ||||
6 | #define DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_ | ||||
7 | |||||
8 | // windows.h needs to be included before BluetoothAPIs.h. | ||||
9 | #include <windows.h> | ||||
10 | |||||
11 | #include <BluetoothAPIs.h> | ||||
[email protected] | 063d943 | 2013-01-25 09:26:01 | [diff] [blame] | 12 | #include <delayimp.h> |
[email protected] | edcaf14a | 2013-02-25 17:46:36 | [diff] [blame] | 13 | #include <ws2def.h> |
[email protected] | 246493d | 2013-02-03 18:24:03 | [diff] [blame] | 14 | #include <ws2bth.h> |
[email protected] | 063d943 | 2013-01-25 09:26:01 | [diff] [blame] | 15 | |
scheib | 7c0d277 | 2014-12-06 16:02:04 | [diff] [blame] | 16 | #include "device/bluetooth/bluetooth_export.h" |
17 | |||||
[email protected] | 063d943 | 2013-01-25 09:26:01 | [diff] [blame] | 18 | namespace device { |
19 | namespace bluetooth_init_win { | ||||
20 | |||||
21 | // Returns true if the machine has a bluetooth stack available. The first call | ||||
22 | // to this function will involve file IO, so it should be done on an appropriate | ||||
benchan | 139a35b4 | 2014-10-28 06:32:18 | [diff] [blame] | 23 | // thread. This function is not thread-safe. |
scheib | 7c0d277 | 2014-12-06 16:02:04 | [diff] [blame] | 24 | bool DEVICE_BLUETOOTH_EXPORT HasBluetoothStack(); |
[email protected] | 063d943 | 2013-01-25 09:26:01 | [diff] [blame] | 25 | |
26 | } // namespace bluetooth_init_win | ||||
27 | } // namespace device | ||||
28 | |||||
29 | #endif // DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_ |