Files
UnrealEngineUWP/Engine/Source/Runtime/AudioLink/AudioLinkEngine/Private/AudioLinkModule.cpp
martin sevigny 15afa78dab Add test to make sure the module name in the IMPLEMENT_MODULE macros matches the name declared in the uproject, uplugin or the name of the folder for engine modules.
A mismatch for Runtime module results in a error in FModuleManager::LoadModuleWithFailureReason because it can't find the ModuleInitializerPtr

See ModuleManager.h for the actual change. The rest are fixes of wrong names.
#rb Steve.Robb
#jira UE-215245

[CL 33938229 by martin sevigny in ue5-main branch]
2024-05-28 08:46:41 -04:00

22 lines
409 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "CoreMinimal.h"
#include "AudioLinkLog.h"
#include "Modules/ModuleManager.h"
DEFINE_LOG_CATEGORY(LogAudioLink);
class FAudioLinkModule : public IModuleInterface
{
public:
// Begin IModuleInterface
virtual void StartupModule() override
{
}
virtual void ShutdownModule() override
{
}
};
IMPLEMENT_MODULE(FAudioLinkModule, AudioLinkEngine);