cec: add a Close() method to the interface
[deb_libcec.git] / include / CECExportsCpp.h
index ec69a4bb8e946bb7e8c4a2643a901eff6c470fff..ac00190571599ea9510396faa83f489b25b79cb4 100644 (file)
@@ -41,6 +41,11 @@ namespace CEC
      */
     virtual bool Open(const char *strPort, int iTimeoutMs = 10000) = 0;
 
+    /*!
+     * @see cec_close
+     */
+    virtual bool Close(int iTimeoutMs = 2000) = 0;
+
     /*!
      * @see cec_find_devices
      */
@@ -91,6 +96,11 @@ namespace CEC
      */
     virtual bool GetNextKeypress(cec_keypress *key) = 0;
 
+    /*!
+     * @see cec_get_next_command
+     */
+    virtual bool GetNextCommand(cec_command *command) = 0;
+
     /*!
      * @see cec_transmit
      */