MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / SetClientVersion

Method SetClientVersion

src/libcec/CECClient.cpp:1390–1402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1388}
1389
1390void CCECClient::SetClientVersion(uint32_t version)
1391{
1392 bool changed;
1393 {
1394 CLockObject lock(m_mutex);
1395 changed = (m_configuration.clientVersion != version);
1396 m_configuration.clientVersion = version;
1397 }
1398 if (changed)
1399 {
1400 LIB_CEC->AddLog(CEC_LOG_DEBUG, "%s - using client version '%s'", __FUNCTION__, CCECTypeUtils::VersionToString(version).c_str());
1401 }
1402}
1403
1404uint32_t CCECClient::GetClientVersion(void)
1405{

Callers

nothing calls this directly

Calls 1

AddLogMethod · 0.45

Tested by

no test coverage detected