/*!
* @brief Callback method for IAdapterCommunication, called when a logical address that libCEC uses was taken by another device.
* @param oldAddress The logical address that was taken by another device.
- * @param newAddress The new logical address, or CECDEVICE_UNKNOWN if no new LA could be allocated.
*/
- virtual void HandleLogicalAddressLost(cec_logical_address oldAddress, cec_logical_address newAddress) = 0;
+ virtual void HandleLogicalAddressLost(cec_logical_address oldAddress) = 0;
virtual CLibCEC *GetLib(void) const = 0;
};
*/
virtual cec_adapter_type GetAdapterType(void) = 0;
+ /*!
+ * @return The (virtual) USB vendor id
+ */
+ virtual uint16_t GetAdapterVendorId(void) const = 0;
+
+ /*!
+ * @return The (virtual) USB product id
+ */
+ virtual uint16_t GetAdapterProductId(void) const = 0;
+
IAdapterCommunicationCallback *m_callback;
};
};