repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: added GetOSDName()/cec_get_osd_name(). only request the values we need in CCECPr...
[deb_libcec.git]
/
src
/
lib
/
LibCEC.cpp
diff --git
a/src/lib/LibCEC.cpp
b/src/lib/LibCEC.cpp
index 50239bc7e5a6529dfedf7e0d20f8f88b45bb4daa..92f00c32ed855247b8282db441229ae8aed9e8d0 100644
(file)
--- a/
src/lib/LibCEC.cpp
+++ b/
src/lib/LibCEC.cpp
@@
-316,6
+316,18
@@
bool CLibCEC::SendKeyRelease(cec_logical_address iDestination, bool bWait /* = f
return false;
}
return false;
}
+cec_osd_name CLibCEC::GetOSDName(cec_logical_address iAddress)
+{
+ cec_osd_name retVal;
+ retVal.device = iAddress;
+ retVal.name[0] = 0;
+
+ if (m_cec)
+ retVal = m_cec->GetDeviceOSDName(iAddress);
+
+ return retVal;
+}
+
void CLibCEC::AddLog(cec_log_level level, const string &strMessage)
{
if (m_cec)
void CLibCEC::AddLog(cec_log_level level, const string &strMessage)
{
if (m_cec)