added HandleLogicalAddressLost() callback to IAdapterCommunication
[deb_libcec.git] / src / lib / adapter / AdapterCommunication.h
index 02dda4dab1e4db1766403ed221236000fed5c49d..b73dccde19387ea99ac1f20d0c0071af4383b0e5 100644 (file)
@@ -75,6 +75,12 @@ namespace CEC
      */
     virtual bool HandleReceiveFailed(cec_logical_address initiator) = 0;
 
+    /*!
+     * @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.
+     */
+    virtual void HandleLogicalAddressLost(cec_logical_address address) = 0;
+
     virtual CLibCEC *GetLib(void) const = 0;
   };