/*! * \copyright Copyright (c) 2017-2019 Governikus GmbH & Co. KG, Germany */ #pragma once #include namespace governikus { class UsbId { private: unsigned int mVendorId; unsigned int mProductId; public: UsbId(unsigned int pVendorId = 0x0, unsigned int pProductId = 0x0); unsigned int getVendorId() const; unsigned int getProductId() const; bool operator==(const UsbId& pOther) const; }; } // namespace governikus Q_DECLARE_TYPEINFO(governikus::UsbId, Q_PRIMITIVE_TYPE); QDebug operator <<(QDebug pDbg, const governikus::UsbId& pUsbId);