carb::filesystem::OnChangeEventFn¶
Defined in carb/filesystem/IFileSystem.h
-
typedef void (*
carb::filesystem
::
OnChangeEventFn
)(const char *path, ChangeAction action, void *userData, const char *newPath)¶ Defines the callback function to use when listening to changes on file system.
- Parameters
path – The path for file system change.
action – The change action that occurred.
userData – The user data associated with the subscription to the change event.
newPath – The path for the new name of the file. Used only for eRenamed action, otherwise it’s nullptr