Files
UnrealEngineUWP/Engine/Source/Developer/DirectoryWatcher/Public/DirectoryWatcherModule.h
mark lintott 3ff6f8e1fc #jira UE-111654
#rb trivial
Fixed missing UE4 comment in DirectoryWatcher

#ROBOMERGE-SOURCE: CL 15862517 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15862527 by mark lintott in ue5-main branch]
2021-03-30 11:01:19 -04:00

29 lines
784 B
C++

// Copyright 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 UE sandbox) */
virtual void RegisterExternalChanges(TArrayView<const FFileChangeData> FileChanges) const;
private:
FDirectoryWatcherProxy* DirectoryWatcher;
};