mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
17 lines
507 B
C
17 lines
507 B
C
|
#ifndef SERIAL_USB_ANDROID_H
|
||
|
#define SERIAL_USB_ANDROID_H
|
||
|
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
/* USB Device Information */
|
||
|
struct android_usb_serial_device_descriptor {
|
||
|
QAndroidJniObject usbDevice; /* the UsbDevice */
|
||
|
std::string className; /* the driver class name. If empty, then "autodetect" */
|
||
|
std::string uiRepresentation; /* The string that can be used for the user interface. */
|
||
|
};
|
||
|
|
||
|
std::vector<android_usb_serial_device_descriptor> serial_usb_android_get_devices(bool driverSelection);
|
||
|
|
||
|
#endif
|