Files
UnrealEngine/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithDispatcher/Private/DatasmithDispatcherModule.cpp
2025-05-18 13:04:45 +08:00

33 lines
788 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "DatasmithDispatcherModule.h"
#include "DatasmithDispatcherLog.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"
#define LOCTEXT_NAMESPACE "FDatasmithDispatcherModule"
DEFINE_LOG_CATEGORY(LogDatasmithDispatcher);
FDatasmithDispatcherModule& FDatasmithDispatcherModule::Get()
{
return FModuleManager::LoadModuleChecked< FDatasmithDispatcherModule >(DATASMITHDISPATCHER_MODULE_NAME);
}
bool FDatasmithDispatcherModule::IsAvailable()
{
return FModuleManager::Get().IsModuleLoaded(DATASMITHDISPATCHER_MODULE_NAME);
}
void FDatasmithDispatcherModule::StartupModule()
{
}
IMPLEMENT_MODULE(FDatasmithDispatcherModule, DatasmithDispatcher);
#undef LOCTEXT_NAMESPACE // "DatasmithDispatcherModule"