X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=c5f0522c20b22d7a255cafeb656e90913f45bef2;hb=eab72c4079c8f106f825f799d1f2f6218066d3ed;hp=44bf0244abdb8e6f5dbe29f59be811a28431223f;hpb=f4b7b1dc99d0741aa5cbba94a60775ddf1552422;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 44bf024..c5f0522 100644 --- a/include/cec.h +++ b/include/cec.h @@ -251,6 +251,13 @@ namespace CEC */ virtual cec_power_status GetDevicePowerStatus(cec_logical_address iAddress) = 0; + /*! + * @brief Get the physical address of the device with the given logical address. + * @param iLogicalAddress The device to get the vendor id for. + * @return The physical address or 0 if it wasn't found. + */ + virtual uint16_t GetDevicePhysicalAddress(cec_logical_address iAddress) = 0; + /*! * @brief Sends a POLL message to a device. * @param iAddress The device to send the message to.