co_usb
Loading...
Searching...
No Matches
flags.hpp
Go to the documentation of this file.
1
6#pragma once
7
9#include <libusb.h>
10
11namespace co_usb::hotplug
12{
13
20
27
33namespace events
34{
35constexpr event_type arrived{LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED};
36constexpr event_type left{LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT};
37} // namespace events
38
44namespace flags
45{
46constexpr flag_type none{LIBUSB_HOTPLUG_NO_FLAGS};
47constexpr flag_type enumerate{LIBUSB_HOTPLUG_ENUMERATE};
48}; // namespace flags
49
50} // namespace co_usb::hotplug
constexpr event_type left
Definition flags.hpp:36
constexpr event_type arrived
Definition flags.hpp:35
constexpr flag_type enumerate
Definition flags.hpp:47
constexpr flag_type none
Definition flags.hpp:46
Definition hotplug_awaitable.hpp:18