X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=ba12a879c66b61e5db6153a8f8f4d8cea7f33562;hb=784a6a797b71aafabbcbcb666b2e42ee02e13010;hp=8d141640943ad0c28a32972a06f0aebd75717a9a;hpb=999665e393983d93aa0309fbaf608267ed1207ba;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 8d14164..ba12a87 100644 --- a/include/cec.h +++ b/include/cec.h @@ -36,7 +36,7 @@ #include "cectypes.h" -#define LIBCEC_VERSION_CURRENT CEC_SERVER_VERSION_2_0_0 +#define LIBCEC_VERSION_CURRENT CEC_SERVER_VERSION_2_0_2 namespace CEC { @@ -397,6 +397,16 @@ namespace CEC */ virtual void InitVideoStandalone(void) = 0; + /*! + * @return The (virtual) USB vendor id + */ + virtual uint16_t GetAdapterVendorId(void) const = 0; + + /*! + * @return The (virtual) USB product id + */ + virtual uint16_t GetAdapterProductId(void) const = 0; + virtual const char *ToString(const cec_menu_state state) = 0; virtual const char *ToString(const cec_version version) = 0; virtual const char *ToString(const cec_power_status status) = 0;