From: Lars Op den Kamp Date: Thu, 2 Feb 2012 01:38:16 +0000 (+0100) Subject: cec: added the new msgcodes to MessageCodeAsString() X-Git-Tag: upstream/2.2.0~1^2~36^2~19 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=dd4efb6df8cba28edea1b965351f37a3c7a27ada;p=deb_libcec.git cec: added the new msgcodes to MessageCodeAsString() --- diff --git a/src/lib/adapter/USBCECAdapterMessage.h b/src/lib/adapter/USBCECAdapterMessage.h index 169c115..ae41177 100644 --- a/src/lib/adapter/USBCECAdapterMessage.h +++ b/src/lib/adapter/USBCECAdapterMessage.h @@ -218,6 +218,12 @@ namespace CEC case MSGCODE_FRAME_ACK: strMsg = "FRAME_ACK"; break; + case MSGCODE_SET_POWERSTATE: + strMsg = "SET_POWERSTATE"; + break; + case MSGCODE_SET_CONTROLLED: + strMsg = "SET_CONTROLLED"; + break; } return strMsg;