co_usb
Loading...
Searching...
No Matches
include
co_usb
hotplug
hotplug.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <libusb-1.0/libusb.h>
4
namespace
co_usb
5
{
6
12
enum class
hotplug_event
13
{
14
arrived
=
LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED
,
15
left
=
LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT
,
16
};
17
23
enum class
hotplug_flag
24
{
25
none
=
LIBUSB_HOTPLUG_NO_FLAGS
,
26
enumerate
=
LIBUSB_HOTPLUG_ENUMERATE
,
27
};
28
29
}
// namespace co_usb
co_usb
Definition
context.hpp:14
co_usb::hotplug_flag
hotplug_flag
wrapper for hotplug flags
Definition
hotplug.hpp:24
co_usb::hotplug_flag::enumerate
@ enumerate
co_usb::hotplug_flag::none
@ none
co_usb::use_service
use_service
Definition
context.hpp:17
co_usb::hotplug_event
hotplug_event
enum class wrapper for hotplug events
Definition
hotplug.hpp:13
co_usb::hotplug_event::arrived
@ arrived
co_usb::hotplug_event::left
@ left
Generated by
1.9.8