ARB
|
#include <cb.h>
Go to the source code of this file.
Macros | |
#define | CHANGE_REASONS (CR_CREATED+1) |
Enumerations | |
enum | ChangeReason { CR_MODIFIED, CR_DELETED, CR_CREATED } |
Functions | |
DECLARE_CBTYPE_FFV_AND_BUILDERS (FileChangedCallback, void, const char *, ChangeReason) | |
void | AW_add_inotification (const char *file, const FileChangedCallback &fccb) |
void | AW_remove_inotification (const char *file, const FileChangedCallback &fccb) |
#define CHANGE_REASONS (CR_CREATED+1) |
Definition at line 24 of file aw_inotify.hxx.
enum ChangeReason |
Enumerator | |
---|---|
CR_MODIFIED | |
CR_DELETED | |
CR_CREATED |
Definition at line 18 of file aw_inotify.hxx.
DECLARE_CBTYPE_FFV_AND_BUILDERS | ( | FileChangedCallback | , |
void | , | ||
const char * | , | ||
ChangeReason | |||
) |
void AW_add_inotification | ( | const char * | file, |
const FileChangedCallback & | fccb | ||
) |
callback after a file changes
file | the file to watch |
fccb | callback to call |
Definition at line 473 of file AW_inotify.cxx.
References AW_root::add_timed_callback(), allTrackers(), fputs(), maintain_timer_callback, show_tracked_error(), AW_root::SINGLETON, and timed_inotifications_check_cb().
Referenced by AW_edit_notified(), and PT_selection::PT_selection().
void AW_remove_inotification | ( | const char * | file, |
const FileChangedCallback & | fccb | ||
) |
Definition at line 489 of file AW_inotify.cxx.
References allTrackers(), and show_tracked_error().