summaryrefslogtreecommitdiffstats
path: root/device/hid/hid_collection_info.h
blob: 3b35e5e7354ee87ce3655c4e723184b2d11272f3 (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
// Copyright 2014 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_HID_HID_COLLECTION_INFO_H_
#define DEVICE_HID_HID_COLLECTION_INFO_H_

#include <set>

#include "device/hid/hid_usage_and_page.h"

namespace device {

struct HidCollectionInfo {
  HidCollectionInfo();
  ~HidCollectionInfo();

  // Collection's usage ID.
  HidUsageAndPage usage;

  // HID report IDs which belong
  // to this collection or to its
  // embedded collections.
  std::set<int> report_ids;
};

}  // namespace device"

#endif  // DEVICE_HID_HID_COLLECTION_INFO_H_