Nebula
Toggle main menu visibility
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
13
namespace
IO
14
{
15
struct
EventHandlerData;
16
struct
FileWatcherPlatform
17
{
18
HANDLE
dirHandle
;
19
OVERLAPPED
overlapped
;
20
DWORD
notifyFilter
;
21
BYTE
buffer
[16 * 1024];
22
bool
recursive
;
23
};
24
25
class
FileWatcherImpl
26
{
27
public
:
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
}
IO::FileWatcherImpl
Definition
linuxfilewatcher.h:27
IO::FileWatcherImpl::WakeUp
static void WakeUp()
IO::FileWatcherImpl::Init
static void Init()
IO::FileWatcherImpl::WaitForEvents
static void WaitForEvents(double timeoutSecs)
IO::FileWatcherImpl::DestroyWatcher
static void DestroyWatcher(EventHandlerData &data)
IO::FileWatcherImpl::Shutdown
static void Shutdown()
IO::FileWatcherImpl::Update
static void Update(EventHandlerData &data)
IO::FileWatcherImpl::CreateWatcher
static void CreateWatcher(EventHandlerData &data)
IO
Instances of wrapped stream classes.
Definition
multiplayerfeatureunit.cc:324
refcounted.h
IO::EventHandlerData
Definition
filewatcher.h:65
IO::FileWatcherPlatform::dirHandle
HANDLE dirHandle
Definition
win32filewatcher.h:18
IO::FileWatcherPlatform::recursive
bool recursive
Definition
linuxfilewatcher.h:20
IO::FileWatcherPlatform::notifyFilter
DWORD notifyFilter
Definition
win32filewatcher.h:20
IO::FileWatcherPlatform::overlapped
OVERLAPPED overlapped
Definition
win32filewatcher.h:19
IO::FileWatcherPlatform::buffer
BYTE buffer[16 *1024]
Definition
win32filewatcher.h:21
types.h
code
foundation
io
win32
win32filewatcher.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.