| 211 | } |
| 212 | |
| 213 | void CPublishKeywordList::AddKeyword(const wxString& keyword, CKnownFile *file) |
| 214 | { |
| 215 | CPublishKeyword* pubKw = FindKeyword(keyword); |
| 216 | if (pubKw == NULL) { |
| 217 | pubKw = new CPublishKeyword(keyword); |
| 218 | m_lstKeywords.push_back(pubKw); |
| 219 | CKeyWordList::iterator it = m_lstKeywords.end(); |
| 220 | --it; |
| 221 | m_keywordIndex[keyword] = it; |
| 222 | SetNextPublishTime(0); |
| 223 | } |
| 224 | pubKw->AddRef(file); |
| 225 | } |
| 226 | |
| 227 | void CPublishKeywordList::AddKeywords(CKnownFile* pFile) |
| 228 | { |
no test coverage detected