OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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_TYPES_H_ | |
ortuno
2016/06/15 18:12:27
optional: IMHO bluetooth_common.h would be better.
| |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_TYPES_H_ | |
7 | |
8 #include "device/bluetooth/bluetooth_export.h" | |
9 | |
10 namespace device { | |
11 | |
ortuno
2016/06/15 18:12:27
Add a comment about what goes in this file.
| |
12 enum DEVICE_BLUETOOTH_EXPORT BluetoothTransport { | |
ortuno
2016/06/15 18:12:27
Make this an enum class and remove the TRANSPORT p
| |
13 TRANSPORT_INVALID = 0x00, | |
14 // Valid transports are given as a bitset. | |
15 TRANSPORT_CLASSIC = 0x01, | |
16 TRANSPORT_LE = 0x02, | |
17 TRANSPORT_DUAL = (TRANSPORT_CLASSIC | TRANSPORT_LE) | |
18 }; | |
19 | |
20 } // namespace device | |
21 | |
22 #endif // DEVICE_BLUETOOTH_BLUETOOTH_TYPES_H_ | |
OLD | NEW |