X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FLibCEC.h;h=a602beafa62d0024ea542f4f680e4b83d736e92f;hb=cc30d5c98c157ee57c5c16b4ce40924ac7ca8bc2;hp=58c2262ede321ab4967e8660c82b872fd1525a01;hpb=25701fa60407a0fc0bc1dfcd4049fc01ad9e4fd1;p=deb_libcec.git diff --git a/src/lib/LibCEC.h b/src/lib/LibCEC.h index 58c2262..a602bea 100644 --- a/src/lib/LibCEC.h +++ b/src/lib/LibCEC.h @@ -64,7 +64,7 @@ namespace CEC virtual bool GetNextKeypress(cec_keypress *key); virtual bool GetNextCommand(cec_command *command); - virtual bool Transmit(const cec_frame &data, bool bWaitForAck = true); + virtual bool Transmit(const cec_command &data, bool bWaitForAck = true); virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress); virtual bool PowerOnDevices(cec_logical_address address = CECDEVICE_TV); @@ -75,12 +75,12 @@ namespace CEC virtual void AddLog(cec_log_level level, const std::string &strMessage); virtual void AddKey(void); - virtual void AddCommand(cec_logical_address source, cec_logical_address destination, cec_opcode opcode, cec_frame *parameters); + virtual void AddCommand(cec_command &command); virtual void CheckKeypressTimeout(void); virtual void SetCurrentButton(cec_user_control_code iButtonCode); protected: - bool m_bStarted; + int64_t m_iStartTime; cec_user_control_code m_iCurrentButton; int64_t m_buttontime; CCECProcessor *m_cec;