OLD | NEW |
| (Empty) |
1 // Copyright 2014 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_HID_HID_COLLECTION_INFO_H_ | |
6 #define DEVICE_HID_HID_COLLECTION_INFO_H_ | |
7 | |
8 #include <set> | |
9 | |
10 #include "device/hid/hid_usage_and_page.h" | |
11 | |
12 namespace device { | |
13 | |
14 struct HidCollectionInfo { | |
15 HidCollectionInfo(); | |
16 ~HidCollectionInfo(); | |
17 | |
18 // Collection's usage ID. | |
19 HidUsageAndPage usage; | |
20 | |
21 // HID report IDs which belong | |
22 // to this collection or to its | |
23 // embedded collections. | |
24 std::set<int> report_ids; | |
25 }; | |
26 | |
27 } // namespace device" | |
28 | |
29 #endif // DEVICE_HID_HID_COLLECTION_INFO_H_ | |
OLD | NEW |