allocate a new address in a background thread when the communication interface report...
[deb_libcec.git] / src / lib / adapter / AdapterCommunication.h
index 02dda4dab1e4db1766403ed221236000fed5c49d..07026713042a19e934bc84af18d4060de42788cb 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 oldAddress The logical address that was taken by another device.
+     */
+    virtual void HandleLogicalAddressLost(cec_logical_address oldAddress) = 0;
+
     virtual CLibCEC *GetLib(void) const = 0;
   };