cec: added the new msgcodes to MessageCodeAsString()
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 2 Feb 2012 01:38:16 +0000 (02:38 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 2 Feb 2012 01:38:16 +0000 (02:38 +0100)
src/lib/adapter/USBCECAdapterMessage.h

index 169c115dc4fdef55ca8b34637e3951ec089e36cb..ae41177b4f7ef4109cebd403c179009c0c585b15 100644 (file)
@@ -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;