X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fadapter%2FUSBCECAdapterCommands.h;h=389aa5f680a74a44d19ccf125491f0f45a9b5ffd;hb=b32ffd87ed707124e700477e8b2a10f6132de2c8;hp=b88651e11619dfe5456074d43010f04853ceaf19;hpb=7c5c5bf4a9f3bf8725b5018d6fe7add742edea14;p=deb_libcec.git diff --git a/src/lib/adapter/USBCECAdapterCommands.h b/src/lib/adapter/USBCECAdapterCommands.h index b88651e..389aa5f 100644 --- a/src/lib/adapter/USBCECAdapterCommands.h +++ b/src/lib/adapter/USBCECAdapterCommands.h @@ -100,6 +100,12 @@ namespace CEC */ bool SetControlledMode(bool controlled); + /*! + * @brief Request the firmware build date from the device. + * @return The build date in seconds since epoch, or 0 when no (valid) reply was received. + */ + uint32_t RequestBuildDate(void); + private: /*! * @brief Reads all settings from the eeprom. @@ -218,5 +224,6 @@ namespace CEC uint16_t m_iSettingLAMask; /**< the value of the LA mask setting */ bool m_bNeedsWrite; /**< true when we sent changed settings to the adapter that have not been persisted */ libcec_configuration m_persistedConfiguration; /**< the configuration that is persisted in the eeprom */ + uint32_t m_iBuildDate; /**< the build date of the firmware */ }; }