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 GetDeviceCecVersion()/cec_get_device_cec_version() to the interface. mostly...
[deb_libcec.git]
/
src
/
lib
/
LibCECC.cpp
diff --git
a/src/lib/LibCECC.cpp
b/src/lib/LibCECC.cpp
index 1f8416b0d573064c7811171ef75800be2307528b..cdc27783d018f2c1401ea4e1f94f4374310d9639 100644
(file)
--- a/
src/lib/LibCECC.cpp
+++ b/
src/lib/LibCECC.cpp
@@
-187,4
+187,11
@@
int cec_switch_monitoring(int bEnable)
return -1;
}
+cec_version cec_get_device_cec_version(cec_logical_address iLogicalAddress)
+{
+ if (cec_parser)
+ return cec_parser->GetDeviceCecVersion(iLogicalAddress);
+ return CEC_VERSION_UNKNOWN;
+}
+
//@}