MCPcopy Create free account
hub / github.com/amule-project/amule / EnableDirectoryWatcher

Method EnableDirectoryWatcher

src/SharedFileList.cpp:325–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323
324
325void 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
338void CSharedFileList::FindSharedFiles(const ReloadYieldCb & yieldCb, bool & aborted)

Callers 3

OnInitMethod · 0.45
ApplyMethod · 0.45
OnOkMethod · 0.45

Calls 2

EnableMethod · 0.45
DisableMethod · 0.45

Tested by 1

ApplyMethod · 0.36