| 117 | |
| 118 | #ifndef CLIENT_GUI |
| 119 | bool CStatTreeItemBase::HasChildWithId(uint32_t id) |
| 120 | { |
| 121 | wxMutexLocker lock(m_lock); |
| 122 | |
| 123 | for (std::list<CStatTreeItemBase*>::const_iterator it = m_children.begin(); |
| 124 | it != m_children.end(); ++it) { |
| 125 | if ((*it)->m_id == id) { |
| 126 | return true; |
| 127 | } |
| 128 | } |
| 129 | return false; |
| 130 | } |
| 131 | |
| 132 | CStatTreeItemBase* CStatTreeItemBase::GetChildById(uint32_t id) |
| 133 | { |
no test coverage detected