Files
UnrealEngineUWP/Engine/Source/Developer/DirectoryWatcher/Private/DirectoryWatcherModule.cpp
ryan gerleve b41214417e Resolving conflict from Dev-Enterprise.
/src/ROBOMERGE_ENGINE_Dev_Networking/Engine/Source/Runtime/Sockets/Private/BSDSockets/SocketsBSD.cpp - merging //UE4/Main/Engine/Source/Runtime/Sockets/Private/BSDSockets/SocketsBSD.cpp#20


--------------------------------------
Copying //UE4/Dev-Enterprise[at]4705006 to Dev-Main (//UE4/Dev-Main)

#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 4705151 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4712032 by ryan gerleve in Dev-Networking branch]
2019-01-11 14:26:15 -05:00

35 lines
806 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "DirectoryWatcherModule.h"
#include "DirectoryWatcherPrivate.h"
#include "DirectoryWatcherProxy.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_MODULE( FDirectoryWatcherModule, DirectoryWatcher );
DEFINE_LOG_CATEGORY(LogDirectoryWatcher);
void FDirectoryWatcherModule::StartupModule()
{
DirectoryWatcher = new FDirectoryWatcherProxy();
}
void FDirectoryWatcherModule::ShutdownModule()
{
if (DirectoryWatcher != NULL)
{
delete DirectoryWatcher;
DirectoryWatcher = NULL;
}
}
IDirectoryWatcher* FDirectoryWatcherModule::Get()
{
return DirectoryWatcher;
}
void FDirectoryWatcherModule::RegisterExternalChanges(TArrayView<const FFileChangeData> FileChanges) const
{
DirectoryWatcher->RegisterExternalChanges(FileChanges);
}