repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: add SetPhysicalAddress()/cec_set_physical_address() to the interface, so the...
[deb_libcec.git]
/
include
/
cec.h
diff --git
a/include/cec.h
b/include/cec.h
index 7afb0651dbb247e0eb6eeb774c80f5d2be7eb5f5..bf7a4735eb7840f3e9f486f5b4212e4d9d1a08b3 100644
(file)
--- a/
include/cec.h
+++ b/
include/cec.h
@@
-103,7
+103,12
@@
namespace CEC
/*!
* @see cec_set_logical_address
*/
/*!
* @see cec_set_logical_address
*/
- virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress) = 0;
+ virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress = CECDEVICE_PLAYBACKDEVICE1) = 0;
+
+ /*!
+ * @see cec_set_physical_address
+ */
+ virtual bool SetPhysicalAddress(uint16_t iPhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS) = 0;
/*!
* @see cec_power_on_devices
/*!
* @see cec_power_on_devices