Files
UnrealEngineUWP/Engine/Source/Developer/DirectoryWatcher/Public/DirectoryWatcherModule.h
Chris Gagnon 1dd3e0189f Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4730305 by Chris Gagnon in Dev-Editor branch]
2019-01-15 18:47:22 -05:00

29 lines
795 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Containers/ArrayView.h"
#include "Modules/ModuleInterface.h"
class IDirectoryWatcher;
class FDirectoryWatcherProxy;
struct FFileChangeData;
class FDirectoryWatcherModule : public IModuleInterface
{
public:
virtual void StartupModule();
virtual void ShutdownModule();
/** Gets the directory watcher singleton or returns NULL if the platform does not support directory watching */
virtual IDirectoryWatcher* Get();
/** Register external changes that the OS file watcher couldn't detect (eg, a file changing in a UE4 sandbox) */
virtual void RegisterExternalChanges(TArrayView<const FFileChangeData> FileChanges) const;
private:
FDirectoryWatcherProxy* DirectoryWatcher;
};