X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FCECProcessor.h;h=7ec9d8105857d5913a51fe2ca0fdbb8dc5db17fc;hb=34d46707cb15bd88ece3afdc14f9388e94a09ff3;hp=05dc4b28ae5c8c0382e5df8f223f5ca75491361c;hpb=d2f1c15733e3f6f2c8a17abfd3c6612ea93ce734;p=deb_libcec.git diff --git a/src/lib/CECProcessor.h b/src/lib/CECProcessor.h index 05dc4b2..7ec9d81 100644 --- a/src/lib/CECProcessor.h +++ b/src/lib/CECProcessor.h @@ -91,6 +91,9 @@ namespace CEC 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 bool EnablePhysicalAddressDetection(void) { return false; }; + + bool SetLineTimeout(uint8_t iTimeout); const char *ToString(const cec_menu_state state); const char *ToString(const cec_version version); @@ -137,6 +140,7 @@ namespace CEC cec_logical_address m_iBaseDevice; cec_command m_currentframe; cec_logical_addresses m_logicalAddresses; + cec_logical_address m_lastInitiator; std::string m_strDeviceName; cec_device_type_list m_types; CMutex m_mutex;