repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed return value check of m_communication->Write()
[deb_libcec.git]
/
include
/
CECExportsCpp.h
diff --git
a/include/CECExportsCpp.h
b/include/CECExportsCpp.h
index ec69a4bb8e946bb7e8c4a2643a901eff6c470fff..a87c2d018434d19e3ba457113b9f503fbb85f8bd 100644
(file)
--- a/
include/CECExportsCpp.h
+++ b/
include/CECExportsCpp.h
@@
-41,6
+41,11
@@
namespace CEC
*/
virtual bool Open(const char *strPort, int iTimeoutMs = 10000) = 0;
*/
virtual bool Open(const char *strPort, int iTimeoutMs = 10000) = 0;
+ /*!
+ * @see cec_close
+ */
+ virtual bool Close(int iTimeoutMs = 2000) = 0;
+
/*!
* @see cec_find_devices
*/
/*!
* @see cec_find_devices
*/
@@
-57,7
+62,7
@@
namespace CEC
virtual bool StartBootloader(void) = 0;
/*!
virtual bool StartBootloader(void) = 0;
/*!
- * @
see cec_power_off_devices
+ * @
depcrecated Use StandbyDevices() instead
*/
virtual bool PowerOffDevices(cec_logical_address address = CECDEVICE_BROADCAST) = 0;
*/
virtual bool PowerOffDevices(cec_logical_address address = CECDEVICE_BROADCAST) = 0;
@@
-91,10
+96,15
@@
namespace CEC
*/
virtual bool GetNextKeypress(cec_keypress *key) = 0;
*/
virtual bool GetNextKeypress(cec_keypress *key) = 0;
+ /*!
+ * @see cec_get_next_command
+ */
+ virtual bool GetNextCommand(cec_command *command) = 0;
+
/*!
* @see cec_transmit
*/
/*!
* @see cec_transmit
*/
- virtual bool Transmit(const cec_frame &data, bool bWaitForAck = true
, int64_t iTimeout = (int64_t) 5000
) = 0;
+ virtual bool Transmit(const cec_frame &data, bool bWaitForAck = true) = 0;
/*!
* @see cec_set_logical_address
/*!
* @see cec_set_logical_address