25 #ifndef FSW_WIN_DIRECTORY_CHANGE_EVENT_H
26 # define FSW_WIN_DIRECTORY_CHANGE_EVENT_H
35 # include "../event.hpp"
51 std::unique_ptr<void, decltype(free)*> buffer = {
nullptr, free};
52 std::unique_ptr<OVERLAPPED, decltype(free)*> overlapped = {
static_cast<OVERLAPPED *
> (malloc(
sizeof (OVERLAPPED))), free};
56 bool is_io_incomplete();
57 bool is_buffer_overflowed();
58 bool read_changes_async();
61 std::vector<event> get_events();
Main namespace of libfswatch.
Definition: event.cpp:23
Header of the fsw::win_handle class.
Header of the fsw::directory_change_event class, a helper class to wrap Microsoft Windows' ReadDirect...
Definition: win_directory_change_event.hpp:44
Header of the fsw::win_error_message class.
A RAII wrapper around Microsoft Windows HANDLE.
Definition: win_handle.hpp:37
Helper class to get the system-defined error message for a Microsoft Windows' error code...
Definition: win_error_message.hpp:41