| 116 | } |
| 117 | |
| 118 | bool HasInstance(dmMDNS::EventType type, const char* instance_name) const |
| 119 | { |
| 120 | for (uint32_t i = 0; i < m_Events.size(); ++i) |
| 121 | { |
| 122 | const EventSnapshot& e = m_Events[i]; |
| 123 | if (e.m_Type == type && e.m_InstanceName == instance_name) |
| 124 | return true; |
| 125 | } |
| 126 | return false; |
| 127 | } |
| 128 | |
| 129 | uint32_t CountInstance(dmMDNS::EventType type, const char* instance_name) const |
| 130 | { |
no test coverage detected