2 #include <ossia/detail/string_map.hpp>
8 #include <score_lib_base_export.h>
20 std::function<void(std::string_view)> added;
21 std::function<void(std::string_view)> removed;
30 void setWatchedFolder(std::string root) { m_root = root; }
32 void registerWatch(std::string extension, Callbacks callbacks)
34 m_watched[extension].push_back(callbacks);
47 ossia::string_map<std::vector<Callbacks>> m_watched;
51 void for_all_files(std::string_view root, std::function<
void(std::string_view)> f);
Definition: RecursiveWatch.hpp:16
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: RecursiveWatch.hpp:19
Definition: RecursiveWatch.hpp:25