X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FLibCEC.h;h=a0a4ddc373cdd97fdeb2c50996acdf9a4e28d9ef;hb=701f753bb7d109d65f30b2bfcd2644e1366801bf;hp=25b7fc12295528565cd750edb30ec653daf50e9f;hpb=03ae897d74d37f6fdb35e2bb937e851cee61793b;p=deb_libcec.git diff --git a/src/lib/LibCEC.h b/src/lib/LibCEC.h index 25b7fc1..a0a4ddc 100644 --- a/src/lib/LibCEC.h +++ b/src/lib/LibCEC.h @@ -87,13 +87,14 @@ namespace CEC virtual cec_logical_addresses GetActiveDevices(void); virtual bool IsActiveDevice(cec_logical_address iAddress); virtual bool IsActiveDeviceType(cec_device_type type); - virtual bool SetHDMIPort(uint8_t iPort = CEC_DEFAULT_HDMI_PORT); + virtual bool SetHDMIPort(cec_logical_address iBaseDevice, uint8_t iPort = CEC_DEFAULT_HDMI_PORT); virtual uint8_t VolumeUp(bool bWait = true); virtual uint8_t VolumeDown(bool bWait = true); virtual uint8_t MuteAudio(bool bWait = true); virtual bool SendKeypress(cec_logical_address iDestination, cec_user_control_code key, bool bWait = false); virtual bool SendKeyRelease(cec_logical_address iDestination, bool bWait = false); virtual cec_osd_name GetOSDName(cec_logical_address iAddress); + virtual bool EnablePhysicalAddressDetection(void); const char *ToString(const cec_menu_state state); const char *ToString(const cec_version version); @@ -119,7 +120,6 @@ namespace CEC cec_user_control_code m_iCurrentButton; int64_t m_buttontime; CCECProcessor *m_cec; - CAdapterCommunication *m_comm; CecBuffer m_logBuffer; CecBuffer m_keyBuffer; CecBuffer m_commandBuffer;