Represents a single folder being watched. More...
#include <FileSystemWatcher.h>
Public Member Functions | |
Result | stopWatching () |
Stop watching this directory. More... | |
Public Attributes | |
Function< void(const Notification &)> | notifyCallback |
Function that will be called on a notification. More... | |
Friends | |
struct | FileSystemWatcher |
struct | IntrusiveDoubleLinkedList< FolderWatcher > |
Represents a single folder being watched.
While in use, the address of this object must not change, as it's inserted in a linked list.
Result SC::FileSystemWatcher::FolderWatcher::stopWatching | ( | ) |
Stop watching this directory.
After calling it the FolderWatcher can be reused or released.
Function<void(const Notification&)> SC::FileSystemWatcher::FolderWatcher::notifyCallback |
Function that will be called on a notification.