cec: added a command to the interface to start the bootloader directly, without going...
[deb_libcec.git] / src / lib / adapter / AdapterCommunication.h
index 38d0a13b0369bf40d6726029ef195d21bceb24a6..d78b11d0164d37e4cf66f1c13b353aa2bc62717b 100644 (file)
@@ -70,9 +70,10 @@ namespace CEC
      * @brief Open a connection to the CEC adapter
      * @param cb The callback struct. if set to NULL, the Read() method has to be used to read commands. if set, OnCommandReceived() will be called for each command that was received
      * @param iTimeoutMs Connection timeout in ms
+     * @param bSkipChecks Skips all initial checks of the adapter, and starts the reader/writer threads directly after connecting.
      * @return True when connected, false otherwise
      */
-    virtual bool Open(IAdapterCommunicationCallback *cb, uint32_t iTimeoutMs = 10000) = 0;
+    virtual bool Open(IAdapterCommunicationCallback *cb, uint32_t iTimeoutMs = 10000, bool bSkipChecks = false) = 0;
 
     /*!
      * @brief Close an open connection