X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=582bf24be77a6b4537965e637fc39ef16eddbb09;hb=ff50391c4f0724c10c7bb19b927e29b92dc40cd3;hp=19bc4d35e74fbe130ddc73aa5650f9b7f52e8261;hpb=82b65f18fa44f1f9a673f10d917b2efdf087e565;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 19bc4d3..582bf24 100644 --- a/include/cec.h +++ b/include/cec.h @@ -164,9 +164,15 @@ namespace CEC * @see cec_get_device_power_status */ virtual cec_power_status GetDevicePowerStatus(cec_logical_address iAddress) = 0; + + /*! + * @see cec_poll_device + */ + virtual bool PollDevice(cec_logical_address iAddress) = 0; }; }; +extern "C" DECLSPEC void * CECInit(const char *strDeviceName, CEC::cec_device_type_list devicesTypes); extern "C" DECLSPEC void * CECCreate(const char *strDeviceName, CEC::cec_logical_address iLogicalAddress = CEC::CECDEVICE_PLAYBACKDEVICE1, uint16_t iPhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS); extern "C" DECLSPEC void CECDestroy(CEC::ICECAdapter *instance);