27 #ifndef INCLUDED_DIR_WATCH 28 #define INCLUDED_DIR_WATCH 36 typedef std::shared_ptr<DirWatch>
PDirWatch;
68 : pathname(pathname), type(type)
104 #endif // #ifndef INCLUDED_DIR_WATCH EType
Definition: dir_watch.h:60
std::vector< DirWatchNotification > DirWatchNotifications
Definition: dir_watch.h:87
std::shared_ptr< DirWatch > PDirWatch
Definition: dir_watch.h:35
const OsPath & Pathname() const
Definition: dir_watch.h:72
Definition: dir_watch.h:64
EType type
Definition: dir_watch.h:84
DirWatchNotification(const OsPath &pathname, EType type)
Definition: dir_watch.h:67
Status dir_watch_Add(const OsPath &path, PDirWatch &dirWatch)
start watching a single directory for changes.
Definition: dir_watch.cpp:28
OsPath path
Definition: dir_watch_inotify.cpp:78
EType Type() const
Definition: dir_watch.h:77
Definition: dir_watch.h:63
i64 Status
Error handling system.
Definition: status.h:169
Definition: dir_watch.h:57
OsPath pathname
Definition: dir_watch.h:83
Definition: dir_watch.h:62
Status dir_watch_Poll(DirWatchNotifications ¬ifications)
return all pending directory watch notifications.
Definition: dir_watch.cpp:33
Definition: dir_watch_inotify.cpp:65