#include <filemonitor.h>
Public Types | |
enum class | STATE : Int { RESCAN , MODIFIED , DELETED , METADATA , RENAMED , CREATED } |
using | Observer = Delegate< void(const Url &watched, const Url &updated, STATE state)> |
Public Member Functions | |
enum maxon::FileMonitor::STATE Int | MAXON_ENUM_FLAGS_CLASS (STATE) |
Static Public Member Functions | |
static MAXON_METHOD Result< FileMonitorItemRef > | WatchFile (const Url &url, Observer &&observer) |
static MAXON_METHOD Result< FileMonitorItemRef > | WatchDirectory (const Url &url, Bool watchSubtree, Observer &&observer) |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (FileMonitor, MAXON_REFERENCE_STATIC, "net.maxon.interface.filemonitor") | |
Types of CaptureDevices.
|
private |
enum maxon::FileMonitor::STATE Int MAXON_ENUM_FLAGS_CLASS | ( | STATE | ) |
|
static |
|
static |
WatchDirectory description.
[in] | url | Url of the directory to watch |
[in] | watchSubtree | True if the function should watch all sub directories. |
[in] | observer | Delegate which is triggered on file change detection. |