Merge pull request #73 from warped-rudi/Pulse-Eight
[deb_libcec.git] / src / lib / adapter / AdapterCommunication.h
index b73dccde19387ea99ac1f20d0c0071af4383b0e5..7dd56b7fdbfebd22eb3a8c86867fbe916193f980 100644 (file)
@@ -77,9 +77,9 @@ namespace CEC
 
     /*!
      * @brief Callback method for IAdapterCommunication, called when a logical address that libCEC uses was taken by another device.
-     * @param address The logical address that was taken by another device.
+     * @param oldAddress The logical address that was taken by another device.
      */
-    virtual void HandleLogicalAddressLost(cec_logical_address address) = 0;
+    virtual void HandleLogicalAddressLost(cec_logical_address oldAddress) = 0;
 
     virtual CLibCEC *GetLib(void) const = 0;
   };
@@ -211,6 +211,16 @@ namespace CEC
      */
     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;
   };
 };