Files
UnrealEngineUWP/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponentPlugin.cpp
Ben Marsh 9655b03674 Trigger a link error whenever a module is missing a valid IMPLEMENT_MODULE macro on Windows.
The IMPLEMENT_MODULE macro now defines an empty function called IMPLEMENT_MODULE_{ModuleName}, to which we force a reference to via the linker command line. This behavior can be disabled on a per-module basis by setting bRequiresImplementModule = false from a .build.cs file.

#rb none

[CL 4827582 by Ben Marsh in Main branch]
2019-01-28 22:59:56 -05:00

35 lines
621 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "GeometryCollection/GeometryCollectionComponentPlugin.h"
#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"
class FGeometryCollectionComponentPlugin : public IGeometryCollectionComponentPlugin
{
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
};
IMPLEMENT_MODULE( FGeometryCollectionComponentPlugin, GeometryCollectionEngine )
void FGeometryCollectionComponentPlugin::StartupModule()
{
}
void FGeometryCollectionComponentPlugin::ShutdownModule()
{
}