mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 09:54:54 -05:00
28 lines
527 B
C++
28 lines
527 B
C++
#pragma once
|
|
#include <QString>
|
|
#include <QStringList>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace advss {
|
|
|
|
struct USBDeviceInfo {
|
|
std::string vendorID;
|
|
std::string productID;
|
|
std::string busNumber;
|
|
std::string deviceAddress;
|
|
std::string vendorName;
|
|
std::string productName;
|
|
std::string serialNumber;
|
|
|
|
std::string ToString() const;
|
|
QString ToQString() const;
|
|
|
|
bool operator==(const USBDeviceInfo &other);
|
|
};
|
|
|
|
std::vector<USBDeviceInfo> GetUSBDevices();
|
|
QStringList GetUSBDevicesStringList();
|
|
|
|
} // namespace advss
|