summaryrefslogtreecommitdiff
path: root/chromium/device/bluetooth/bluetooth_init_win.h
blob: ee586581aefb8637c4e75947776b8e1249f7a6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_
#define DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_

// windows.h needs to be included before bluetoothapis.h.
#include <windows.h>

#include <bluetoothapis.h>
#include <delayimp.h>

// ws2def.h needs to be included before ws2bth.h.
#include <ws2def.h>

#include <ws2bth.h>

#include "device/bluetooth/bluetooth_export.h"

namespace device {
namespace bluetooth_init_win {

// Returns true if the machine has a bluetooth stack available. The first call
// to this function will involve file IO, so it should be done on an appropriate
// thread. This function is not thread-safe.
bool DEVICE_BLUETOOTH_EXPORT HasBluetoothStack();

}  // namespace bluetooth_init_win
}  // namespace device

#endif  // DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_