X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=src%2Flib%2Fadapter%2FUSBCECAdapterCommunication.h;h=948f2de9c19d5b067412945995b6d91f1234287d;hb=b9761e8922a75fbff7887cf7fd5b6e4e3eba0709;hp=7409e86d874b002b356a16a39cdea1b3931f2e70;hpb=c0152c0940ee81c79150dbafafd6621f576c3ccb;p=deb_libcec.git diff --git a/src/lib/adapter/USBCECAdapterCommunication.h b/src/lib/adapter/USBCECAdapterCommunication.h index 7409e86..948f2de 100644 --- a/src/lib/adapter/USBCECAdapterCommunication.h +++ b/src/lib/adapter/USBCECAdapterCommunication.h @@ -82,7 +82,7 @@ namespace CEC bool PersistConfiguration(const libcec_configuration &configuration); bool GetConfiguration(libcec_configuration &configuration); CStdString GetPortName(void); - uint16_t GetPhysicalAddress(void) { return 0; } + uint16_t GetPhysicalAddress(void); bool SetControlledMode(bool controlled); ///} @@ -157,6 +157,11 @@ namespace CEC */ void MarkAsWaiting(const cec_logical_address dest); + /*! + * @brief Clear and reset the message queue. + */ + void ResetMessageQueue(void); + PLATFORM::ISocket * m_port; /**< the com port connection */ PLATFORM::CMutex m_mutex; /**< mutex for changes in this class */ uint8_t m_iLineTimeout; /**< the current line timeout on the CEC line */