| 708 | } |
| 709 | |
| 710 | void FileSystemManager::onFileRemoved(LPCWSTR strFileName) |
| 711 | { |
| 712 | QMutexLocker m(&_memberMutex); |
| 713 | QString wideFileName = QString::fromUtf16((const ushort *)strFileName); |
| 714 | QDir parentPath = parent(wideFileName); |
| 715 | Watchable * obj = getWatchObjFromPath(native(parentPath)); |
| 716 | |
| 717 | // If we actually have a watcher on this directory, notify it on the next tick |
| 718 | if (obj) |
| 719 | { |
| 720 | // Add it to the List |
| 721 | eventList.push_back(WatchableEvent(obj, FileDeleted, wideFileName, QString())); |
| 722 | } |
| 723 | } |
| 724 | |
| 725 | void FileSystemManager::onFileNameChanged(LPCWSTR strOldFileName, LPCWSTR strNewFileName) |
| 726 | { |