cec: split up CEC processing and the public interface. removed obsolete methods from...
[deb_libcec.git] / include / CECExports.h
index b5a3b5dbd84a1fbb8627b28471b8fca71a895270..bedd0e0dabcb086f744e6995f5f4e9c509b55810 100644 (file)
 extern "C" {
 namespace CEC {
 #endif
-  #define CEC_MIN_VERSION      2
+  #define CEC_MIN_VERSION      3
   #define CEC_LIB_VERSION      3
   #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
   {