| 1039 | } |
| 1040 | |
| 1041 | CECClientPtr CCECProcessor::GetPrimaryClient(void) |
| 1042 | { |
| 1043 | CLockObject lock(m_mutex); |
| 1044 | std::map<cec_logical_address, CECClientPtr>::const_iterator client = m_clients.begin(); |
| 1045 | if (client != m_clients.end()) |
| 1046 | return client->second; |
| 1047 | return CECClientPtr(); |
| 1048 | } |
| 1049 | |
| 1050 | CCECBusDevice *CCECProcessor::GetPrimaryDevice(void) |
| 1051 | { |