| 323 | |
| 324 | |
| 325 | void CSharedFileList::EnableDirectoryWatcher(bool enable) |
| 326 | { |
| 327 | if (enable) { |
| 328 | if (!m_dirWatcher) { |
| 329 | m_dirWatcher = new CSharedDirWatcher(this); |
| 330 | } |
| 331 | m_dirWatcher->Enable(); |
| 332 | } else if (m_dirWatcher) { |
| 333 | m_dirWatcher->Disable(); |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | |
| 338 | void CSharedFileList::FindSharedFiles(const ReloadYieldCb & yieldCb, bool & aborted) |