cec: added a vendor command for panasonic that will enable routing of some more butto...
[deb_libcec.git] / include / cectypes.h
index 72295ada13d13ffebbe227973939c5778cf43d33..cc0b57ee449877333c85e2b073e217c6c0808a0a 100644 (file)
@@ -112,6 +112,7 @@ namespace CEC {
 
 #define CEC_MIN_LIB_VERSION          1
 #define CEC_LIB_VERSION_MAJOR        1
+#define CEC_LIB_VERSION_MAJOR_STR    "1"
 #define CEC_LIB_VERSION_MINOR        7
 
 typedef enum cec_abort_reason
@@ -900,6 +901,12 @@ typedef struct cec_command
 
     return CEC_OPCODE_NONE;
   }
+
+  void PushArray(size_t len, uint8_t *data)
+  {
+    for (size_t iPtr = 0; iPtr < len; iPtr++)
+      PushBack(data[iPtr]);
+  }
 #endif
 } cec_command;