ezEngine  Milestone 9
DirectoryWatcher_uwp.h
1 #pragma once
2 
3 #include <Foundation/IO/DirectoryWatcher.h>
4 
5 ezDirectoryWatcher::ezDirectoryWatcher()
6  : m_pImpl(nullptr)
7 {
8 }
9 
11 {
12  return EZ_FAILURE;
13 }
14 
16 {
17 }
18 
19 ezDirectoryWatcher::~ezDirectoryWatcher()
20 {
22 }
23 
24 void ezDirectoryWatcher::EnumerateChanges(ezDelegate<void(const char* filename, ezDirectoryWatcherAction action)> func)
25 {
26 }
27 
Definition: String.h:136
The ezBitflags class allows you to work with type-safe bitflags.
Definition: Bitflags.h:80
void CloseDirectory()
Closes the currently watched directory if any.
Definition: DirectoryWatcher_posix.h:20
ezResult OpenDirectory(const ezString &absolutePath, ezBitflags< Watch > whatToWatch)
Opens the directory at absolutePath for watching. whatToWatch controls what exactly should be watched...
Definition: DirectoryWatcher_posix.h:14
A generic delegate class which supports static functions and member functions.
Definition: MathExpression.h:11
Default enum for returning failure or success, instead of using a bool.
Definition: Types.h:51
void EnumerateChanges(ezDelegate< void(const char *filename, ezDirectoryWatcherAction action)> func)
Calls the callback func for each change since the last call. For each change the filename and the act...
Definition: DirectoryWatcher_posix.h:27