4 * @brief Declaration file for DirWatcher
8 #include "UnicodeString.h"
14 enum ACTION { ACTION_ADDED = 1, ACTION_REMOVED, ACTION_MODIFIED, ACTION_RENAMED_OLD_NAME, ACTION_RENAMED_NEW_NAME };
17 bool Add(uintptr_t id, bool dir, const String& path, std::function<void(const String&, ACTION)> callback);
18 bool Remove(uintptr_t id);
22 std::unique_ptr<Impl> m_pimpl;