26#ifndef FSW_WINDOWS_MONITOR_H
27# define FSW_WINDOWS_MONITOR_H
39 struct windows_monitor_load;
76 void configure_monitor();
77 void initialize_windows_path_list();
78 void initialize_events();
79 bool init_search_for_path(
const std::wstring path);
80 void stop_search_for_path(
const std::wstring path);
81 void process_path(
const std::wstring& path);
82 bool is_path_watched(std::wstring path);
85 windows_monitor_load *load;
Base class of all monitors.
Definition: monitor.hpp:148
std::vector< std::string > paths
List of paths to watch.
Definition: monitor.hpp:534
void * context
Pointer to context data that will be passed to the monitor::callback.
Definition: monitor.hpp:554
FSW_EVENT_CALLBACK * callback
Callback to which change events should be notified.
Definition: monitor.hpp:549
Windows monitor.
Definition: windows_monitor.hpp:48
void run()
Executes the monitor loop.
windows_monitor(std::vector< std::string > paths, FSW_EVENT_CALLBACK *callback, void *context=nullptr)
Constructs an instance of this class.
virtual ~windows_monitor()
Destroys an instance of this class.
Header of the fsw::monitor class.
Main namespace of libfswatch.
Definition: event.cpp:24
void FSW_EVENT_CALLBACK(const std::vector< event > &, void *)
Function definition of an event callback.
Definition: monitor.hpp:61