| 253 | // |
| 254 | |
| 255 | size_t CListeners::Count(const CChannel& channel) |
| 256 | { |
| 257 | size_t count = 0; |
| 258 | for (size_t i = 0; i < m_listeners.size(); ++i) |
| 259 | { |
| 260 | if (m_listeners[i].second != channel) |
| 261 | continue; |
| 262 | |
| 263 | ++count; |
| 264 | } |
| 265 | |
| 266 | return count; |
| 267 | } |
| 268 | |
| 269 | CChannel* CListeners::Channel(INotificationNetworkListener* pListener) |
| 270 | { |
no test coverage detected