2 #include <score/tools/ThreadPool.hpp>
4 #include <ossia/detail/flat_map.hpp>
6 #include <boost/container/small_vector.hpp>
10 #include <score_lib_base_export.h>
16 using comparable_function = std::shared_ptr<std::function<void()>>;
17 class SCORE_LIB_BASE_EXPORT
FileWatch :
public QObject
25 void add(QString path, comparable_function cb);
26 void remove(QString path, comparable_function cb);
27 void timerEvent(QTimerEvent* ev);
36 boost::container::small_vector<comparable_function, 1> functions;
39 using map_type = ossia::flat_map<QString, watch>;
Definition: FileWatch.hpp:18
Base toolkit upon which the software is built.
Definition: Application.cpp:90