Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_ChangeNotification.h
Chris Gagnon 00f8b72a0b Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5602170 by Chris Gagnon in Dev-Editor branch]
2019-03-27 15:03:08 -04:00

26 lines
487 B
C++

// Copyright 2011-2019 Molecular Matters GmbH, all rights reserved.
#pragma once
#include "CoreTypes.h"
#include "Windows/MinimalWindowsAPI.h"
class ChangeNotification
{
public:
ChangeNotification(void);
~ChangeNotification(void);
void Create(const wchar_t* path);
void Destroy(void);
bool Check(unsigned int timeoutMs);
bool CheckOnce(void);
void CheckNext(unsigned int timeoutMs);
private:
bool WaitForNotification(unsigned int timeoutMs);
Windows::HANDLE m_handle;
};