Nebula
Loading...
Searching...
No Matches
win32filewatcher.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
10#include "core/types.h"
11#include "core/refcounted.h"
12
13namespace IO
14{
15struct EventHandlerData;
16struct FileWatcherPlatform
17{
18 HANDLE dirHandle;
19 OVERLAPPED overlapped;
21 BYTE buffer[16 * 1024];
22 bool recursive;
23};
24
25class FileWatcherImpl
26{
27public:
28 static void Init();
29 static void Shutdown();
30 static void CreateWatcher(EventHandlerData& data);
31 static void DestroyWatcher(EventHandlerData& data);
32 static void Update(EventHandlerData& data);
33 static void WaitForEvents(double timeoutSecs);
34 static void WakeUp();
35};
36}
Definition linuxfilewatcher.h:27
static void WakeUp()
static void Init()
static void WaitForEvents(double timeoutSecs)
static void DestroyWatcher(EventHandlerData &data)
static void Shutdown()
static void Update(EventHandlerData &data)
static void CreateWatcher(EventHandlerData &data)
Instances of wrapped stream classes.
Definition multiplayerfeatureunit.cc:289
Definition filewatcher.h:65
HANDLE dirHandle
Definition win32filewatcher.h:18
bool recursive
Definition linuxfilewatcher.h:20
DWORD notifyFilter
Definition win32filewatcher.h:20
OVERLAPPED overlapped
Definition win32filewatcher.h:19
BYTE buffer[16 *1024]
Definition win32filewatcher.h:21