From: Lars Op den Kamp Date: Thu, 10 Nov 2011 23:35:44 +0000 (+0100) Subject: cec: and rename them in the methods that use them too... X-Git-Tag: upstream/2.2.0~1^2~59 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=22b4e74a603d493d7ccde5017d15ce0dcef5db64;p=deb_libcec.git cec: and rename them in the methods that use them too... --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 3aef595..dce52ac 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -496,7 +496,7 @@ bool CCECProcessor::Transmit(CCECAdapterMessage *output) return bReturn; } -void CCECProcessor::TransmitAbort(cec_logical_address address, cec_opcode opcode, ECecAbortReason reason /* = CEC_ABORT_REASON_UNRECOGNIZED_OPCODE */) +void CCECProcessor::TransmitAbort(cec_logical_address address, cec_opcode opcode, cec_abort_reason reason /* = CEC_ABORT_REASON_UNRECOGNIZED_OPCODE */) { m_controller->AddLog(CEC_LOG_DEBUG, "<< transmitting abort message"); diff --git a/src/lib/CECProcessor.h b/src/lib/CECProcessor.h index b73b1bb..b166b5f 100644 --- a/src/lib/CECProcessor.h +++ b/src/lib/CECProcessor.h @@ -79,7 +79,7 @@ namespace CEC virtual bool Transmit(const cec_command &data); virtual bool Transmit(CCECAdapterMessage *output); - virtual void TransmitAbort(cec_logical_address address, cec_opcode opcode, ECecAbortReason reason = CEC_ABORT_REASON_UNRECOGNIZED_OPCODE); + virtual void TransmitAbort(cec_logical_address address, cec_opcode opcode, cec_abort_reason reason = CEC_ABORT_REASON_UNRECOGNIZED_OPCODE); virtual void SetCurrentButton(cec_user_control_code iButtonCode); virtual void AddCommand(const cec_command &command);