repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
request the power status of the TV directly after registering a new client
[deb_libcec.git]
/
src
/
lib
/
adapter
/
AdapterCommunication.h
diff --git
a/src/lib/adapter/AdapterCommunication.h
b/src/lib/adapter/AdapterCommunication.h
index 02dda4dab1e4db1766403ed221236000fed5c49d..7dd56b7fdbfebd22eb3a8c86867fbe916193f980 100644
(file)
--- a/
src/lib/adapter/AdapterCommunication.h
+++ b/
src/lib/adapter/AdapterCommunication.h
@@
-75,6
+75,12
@@
namespace CEC
*/
virtual bool HandleReceiveFailed(cec_logical_address initiator) = 0;
*/
virtual bool HandleReceiveFailed(cec_logical_address initiator) = 0;
+ /*!
+ * @brief Callback method for IAdapterCommunication, called when a logical address that libCEC uses was taken by another device.
+ * @param oldAddress The logical address that was taken by another device.
+ */
+ virtual void HandleLogicalAddressLost(cec_logical_address oldAddress) = 0;
+
virtual CLibCEC *GetLib(void) const = 0;
};
virtual CLibCEC *GetLib(void) const = 0;
};
@@
-205,6
+211,16
@@
namespace CEC
*/
virtual cec_adapter_type GetAdapterType(void) = 0;
*/
virtual cec_adapter_type GetAdapterType(void) = 0;
+ /*!
+ * @return The (virtual) USB vendor id
+ */
+ virtual uint16_t GetAdapterVendorId(void) const = 0;
+
+ /*!
+ * @return The (virtual) USB product id
+ */
+ virtual uint16_t GetAdapterProductId(void) const = 0;
+
IAdapterCommunicationCallback *m_callback;
};
};
IAdapterCommunicationCallback *m_callback;
};
};