My Project
|
file system watcher to monitor file changes in one or several directories .NET also provides a class similar to this one, called FileSystemWatcher. More...
#include <ParaScriptingIO.h>
Public Member Functions | |
ParaFileSystemWatcher (CFileSystemWatcher *watcher) | |
void | AddDirectory (const char *filename) |
add a directory to monitor | |
void | RemoveDirectory (const char *filename) |
remove a directory from monitor | |
void | AddCallback (const char *sCallbackScript) |
the call back script will be invoked with a global msg msg = {type=[0,5], dirname=string, filename=string}, where type can be { null = 0, added = 1, removed = 2, modified = 3, renamed_old_name = 4, renamed_new_name = 5 }; | |
Public Attributes | |
CFileSystemWatcher * | m_watcher |
file system watcher to monitor file changes in one or several directories .NET also provides a class similar to this one, called FileSystemWatcher.