repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
win32: removed unneeded afxres.h include in the resource files, which is not present...
[deb_libcec.git]
/
src
/
lib
/
LibCECC.cpp
diff --git
a/src/lib/LibCECC.cpp
b/src/lib/LibCECC.cpp
index a2e58c509434ce5a4fb37a8408b15b306bcec340..c1250cba7a953aa6432e13b59d4442d92872bf27 100644
(file)
--- a/
src/lib/LibCECC.cpp
+++ b/
src/lib/LibCECC.cpp
@@
-179,6
+179,13
@@
int cec_set_active_view(void)
return -1;
}
return -1;
}
+int cec_set_active_source(cec_device_type type)
+{
+ if (cec_parser)
+ return cec_parser->SetActiveSource(type) ? 1 : 0;
+ return -1;
+}
+
int cec_set_inactive_view(void)
{
if (cec_parser)
int cec_set_inactive_view(void)
{
if (cec_parser)