repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release 2.2.0
[deb_libcec.git]
/
src
/
lib
/
adapter
/
RPi
/
RPiCECAdapterMessageQueue.h
diff --git
a/src/lib/adapter/RPi/RPiCECAdapterMessageQueue.h
b/src/lib/adapter/RPi/RPiCECAdapterMessageQueue.h
index af5756b68aa5588815f19344f74d3aa66434b9e8..a6f4d7eb59881a43cbad6ac38e0f293178df983e 100644
(file)
--- a/
src/lib/adapter/RPi/RPiCECAdapterMessageQueue.h
+++ b/
src/lib/adapter/RPi/RPiCECAdapterMessageQueue.h
@@
-33,6
+33,12
@@
#include "lib/platform/util/buffer.h"
#include <map>
#include "lib/platform/util/buffer.h"
#include <map>
+#include "lib/adapter/AdapterCommunication.h"
+
+extern "C" {
+#include <interface/vmcs_host/vc_cecservice.h>
+#include <interface/vchiq_arm/vchiq_if.h>
+}
namespace CEC
{
namespace CEC
{
@@
-64,6
+70,11
@@
namespace CEC
*/
bool IsWaiting(void);
*/
bool IsWaiting(void);
+ /*!
+ * @brief Query result from worker thread
+ */
+ uint32_t Result() const;
+
/*!
* @return The command that was sent in human readable form.
*/
/*!
* @return The command that was sent in human readable form.
*/
@@
-106,7
+117,7
@@
namespace CEC
void MessageReceived(cec_opcode opcode, cec_logical_address initiator, cec_logical_address destination, uint32_t response);
void MessageReceived(cec_opcode opcode, cec_logical_address initiator, cec_logical_address destination, uint32_t response);
-
bool Write(const cec_command &command, bool bIs
Reply);
+
cec_adapter_message_state Write(const cec_command &command, bool &bRetry, uint32_t iLineTimeout, bool bIsReply, VC_CEC_ERROR_T &vc
Reply);
private:
CRPiCECAdapterCommunication * m_com; /**< the communication handler */
private:
CRPiCECAdapterCommunication * m_com; /**< the communication handler */