You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
795 B
C++
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;
|
|
};
|