Merge branch 'ghuron/patch-1'. corrected CEC_OPCODE_DEVICE_VENDOR_ID. closes #5
[deb_libcec.git] / include / cectypes.h
index 3e4c85390978f71c36f7b6d7aaddd18bd97eb523..1b942e6d2c11f40d85960bd60ace0c7330931eac 100644 (file)
@@ -738,6 +738,15 @@ typedef struct cec_device_type_list
   cec_device_type types[5];
 
 #ifdef __cplusplus
+  /*!
+   * @deprecated
+   */
+  void clear(void) { Clear(); }
+  /*!
+   * @deprecated
+   */
+  void add(const cec_device_type type) { Add(type); }
+
   void Clear(void)
   {
     for (unsigned int iPtr = 0; iPtr < 5; iPtr++)