X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=63564555564dfb46bbf64f8efc280c38d2a00d1e;hb=f077e8ede7d2c288ff1d9a358eb0c7cceac5fddc;hp=7afb0651dbb247e0eb6eeb774c80f5d2be7eb5f5;hpb=761dcc45a8a0fb5480c3d0898b7b7ffadd4a479c;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 7afb065..6356455 100644 --- a/include/cec.h +++ b/include/cec.h @@ -103,7 +103,12 @@ namespace CEC /*! * @see cec_set_logical_address */ - virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress) = 0; + virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress = CECDEVICE_PLAYBACKDEVICE1) = 0; + + /*! + * @see cec_set_physical_address + */ + virtual bool SetPhysicalAddress(uint16_t iPhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS) = 0; /*! * @see cec_power_on_devices @@ -124,6 +129,16 @@ namespace CEC * @see cec_set_inactive_view */ virtual bool SetInactiveView(void) = 0; + + /*! + * @see cec_set_osd_string + */ + virtual bool SetOSDString(cec_logical_address iLogicalAddress, cec_display_control duration, const char *strMessage) = 0; + + /*! + * @see cec_switch_monitoring + */ + virtual bool SwitchMonitoring(bool bEnable) = 0; }; };