26 #ifndef FSW_WINDOWS_MONITOR_H
27 # define FSW_WINDOWS_MONITOR_H
39 struct windows_monitor_load;
78 void configure_monitor();
79 void initialize_windows_path_list();
80 void initialize_events();
81 bool init_search_for_path(
const std::wstring path);
82 void stop_search_for_path(
const std::wstring path);
83 void process_path(
const std::wstring& path);
84 bool is_path_watched(std::wstring path);
87 windows_monitor_load *load;
void * context
Pointer to context data that will be passed to the monitor::callback.
Definition: monitor.hpp:553
Base class of all monitors.
Definition: monitor.hpp:146
Main namespace of libfswatch.
Definition: event.cpp:23
virtual ~windows_monitor()
Destroys an instance of this class.
Definition: cmonitor.h:49
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.
Header of the fsw::monitor class.
std::vector< std::string > paths
List of paths to watch.
Definition: monitor.hpp:533
Windows monitor.
Definition: windows_monitor.hpp:47
FSW_EVENT_CALLBACK * callback
Callback to which change events should be notified.
Definition: monitor.hpp:548
void FSW_EVENT_CALLBACK(const std::vector< event > &, void *)
Function definition of an event callback.
Definition: monitor.hpp:60