cec: show the command as string instead of int when an unexpected command was received.
[deb_libcec.git] / src / lib / AdapterCommunication.h
index 91e5ee64a0de2a283e2af2832d01334e45b886ea..21a775dbc6b8739b87f0982041fbdd168182b300 100644 (file)
@@ -58,6 +58,7 @@ namespace CEC
     CCECAdapterMessage(const cec_command &command);
     CCECAdapterMessage &operator =(const CCECAdapterMessage &msg);
     CStdString ToString(void) const;
+    CStdString MessageCodeAsString(void) const;
 
     bool                    empty(void) const             { return packet.empty(); }
     uint8_t                 operator[](uint8_t pos) const { return packet[pos]; }