| 89 | void IncPublishedCount() { m_uPublishedCount++; } |
| 90 | |
| 91 | bool AddRef(CKnownFile* pFile) { |
| 92 | if (std::find(m_aFiles.begin(), m_aFiles.end(), pFile) != m_aFiles.end()) { |
| 93 | wxFAIL; |
| 94 | return false; |
| 95 | } |
| 96 | m_aFiles.push_back(pFile); |
| 97 | return true; |
| 98 | } |
| 99 | |
| 100 | int RemoveRef(CKnownFile* pFile) { |
| 101 | KnownFileArray::iterator it = std::find(m_aFiles.begin(), m_aFiles.end(), pFile); |
no test coverage detected