10 #include "usbdevice.h" 12 struct libusb_context;
25 typedef std::map<UniqueUSBid, std::unique_ptr<USBDevice>> DeviceList;
30 const DeviceList *getDevices();
36 std::unique_ptr<USBDevice>
takeDevice(UniqueUSBid
id);
38 libusb_context *context;
40 unsigned findIteration = 0;
int updateDeviceList()
Definition: finddevices.cpp:20
Search for Hantek devices. Use usually want to call updateDeviceList and then retrieve the list via g...
Definition: finddevices.h:23
std::unique_ptr< USBDevice > takeDevice(UniqueUSBid id)
takeDevice
Definition: finddevices.cpp:75