rpi: handle VC_CEC_LOGICAL_ADDR_LOST in the rpi communication class itself, don't...
[deb_libcec.git] / src / lib / adapter / AdapterCommunication.h
index b73dccde19387ea99ac1f20d0c0071af4383b0e5..22e00cbef5998f7a324639e3da320a14feb5f128 100644 (file)
@@ -77,9 +77,10 @@ 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.
+     * @param newAddress The new logical address, or CECDEVICE_UNKNOWN if no new LA could be allocated.
      */
-    virtual void HandleLogicalAddressLost(cec_logical_address address) = 0;
+    virtual void HandleLogicalAddressLost(cec_logical_address oldAddress, cec_logical_address newAddress) = 0;
 
     virtual CLibCEC *GetLib(void) const = 0;
   };