cec: bumped interface version to 4 stay in sync with the lib version. added changelog...
[deb_libcec.git] / include / CECExports.h
index 0aef25c30723e72e5b32fa177a1aeaf86b02e775..9a5c0952c6f8cc5c3fc94edf812160ad6bb3275d 100644 (file)
 extern "C" {
 namespace CEC {
 #endif
-  #define CEC_MIN_VERSION      2
-  #define CEC_LIB_VERSION      2
+  #define CEC_MIN_VERSION      4
+  #define CEC_LIB_VERSION      4
   #define CEC_SETTLE_DOWN_TIME 1000
+  #define CEC_BUTTON_TIMEOUT   500
 
   typedef std::vector<uint8_t> cec_frame;
 
@@ -253,11 +254,11 @@ namespace CEC {
     unsigned int          duration;
   } cec_keypress;
 
-  typedef struct cec_device
+  typedef struct cec_adapter
   {
     std::string path;
     std::string comm;
-  } cec_device;
+  } cec_adapter;
 
   typedef struct cec_command
   {