repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #73 from warped-rudi/Pulse-Eight
[deb_libcec.git]
/
src
/
lib
/
adapter
/
AdapterCommunication.h
diff --git
a/src/lib/adapter/AdapterCommunication.h
b/src/lib/adapter/AdapterCommunication.h
index 22e00cbef5998f7a324639e3da320a14feb5f128..7dd56b7fdbfebd22eb3a8c86867fbe916193f980 100644
(file)
--- a/
src/lib/adapter/AdapterCommunication.h
+++ b/
src/lib/adapter/AdapterCommunication.h
@@
-78,9
+78,8
@@
namespace CEC
/*!
* @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.
/*!
* @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.
- * @param newAddress The new logical address, or CECDEVICE_UNKNOWN if no new LA could be allocated.
*/
*/
- virtual void HandleLogicalAddressLost(cec_logical_address oldAddress
, cec_logical_address newAddress
) = 0;
+ virtual void HandleLogicalAddressLost(cec_logical_address oldAddress) = 0;
virtual CLibCEC *GetLib(void) const = 0;
};
virtual CLibCEC *GetLib(void) const = 0;
};
@@
-212,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;
};
};