27#ifndef INCLUDED_DIR_WATCH
28#define INCLUDED_DIR_WATCH
Definition: dir_watch.h:58
DirWatchNotification(const OsPath &pathname, EType type)
Definition: dir_watch.h:67
EType type
Definition: dir_watch.h:84
OsPath pathname
Definition: dir_watch.h:83
const OsPath & Pathname() const
Definition: dir_watch.h:72
EType
Definition: dir_watch.h:61
@ Changed
Definition: dir_watch.h:64
@ Deleted
Definition: dir_watch.h:63
@ Created
Definition: dir_watch.h:62
EType Type() const
Definition: dir_watch.h:77
std::shared_ptr< DirWatch > PDirWatch
Definition: dir_watch.h:36
std::vector< DirWatchNotification > DirWatchNotifications
Definition: dir_watch.h:87
Status dir_watch_Poll(DirWatchNotifications ¬ifications)
return all pending directory watch notifications.
Definition: dir_watch.cpp:33
Status dir_watch_Add(const OsPath &path, PDirWatch &dirWatch)
start watching a single directory for changes.
Definition: dir_watch.cpp:28
i64 Status
Error handling system.
Definition: status.h:173
Definition: dir_watch_inotify.cpp:66
OsPath path
Definition: dir_watch_inotify.cpp:78