Add cli options for formatting
All checks were successful
Build ptprnt / build (push) Successful in 1m11s
All checks were successful
Build ptprnt / build (push) Successful in 1m11s
This commit is contained in:
@@ -24,12 +24,14 @@
|
||||
namespace libusbwrap {
|
||||
class UsbDeviceFactory : public IUsbDeviceFactory {
|
||||
public:
|
||||
UsbDeviceFactory();
|
||||
~UsbDeviceFactory();
|
||||
UsbDeviceFactory() = default;
|
||||
virtual ~UsbDeviceFactory();
|
||||
|
||||
// delete copy ctor and assignment
|
||||
UsbDeviceFactory(const UsbDeviceFactory&) = delete;
|
||||
UsbDeviceFactory& operator=(UsbDeviceFactory&) = delete;
|
||||
UsbDeviceFactory(const UsbDeviceFactory&) = delete;
|
||||
UsbDeviceFactory& operator=(UsbDeviceFactory&) = delete;
|
||||
UsbDeviceFactory(UsbDeviceFactory&&) = delete;
|
||||
UsbDeviceFactory& operator=(UsbDeviceFactory&&) = delete;
|
||||
|
||||
bool init();
|
||||
/**
|
||||
@@ -56,6 +58,7 @@ class UsbDeviceFactory : public IUsbDeviceFactory {
|
||||
uint16_t pid);
|
||||
// members
|
||||
libusb_context* mLibusbCtx{nullptr};
|
||||
libusb_device** mLibusbDeviceList;
|
||||
libusb_device** mLibusbDeviceList{};
|
||||
bool mDeviceListInitialized = false;
|
||||
};
|
||||
} // namespace libusbwrap
|
||||
Reference in New Issue
Block a user