// Copyright Epic Games, Inc. All Rights Reserved. #include "DatasmithExporterUIModule.h" #include "DatasmithExporterManager.h" #include "DirectLinkUI.h" #include std::atomic GExporterUIModule(nullptr); IDatasmithExporterUIModule* IDatasmithExporterUIModule::Get() { return GExporterUIModule; } void FDatasmithExporterUIModule::StartupModule() { GExporterUIModule = this; #if IS_PROGRAM if ( FDatasmithExporterManager::WasInitializedWithMessaging() ) { DirectLinkUI = MakeUnique(); } #endif } IDirectLinkUI* FDatasmithExporterUIModule::GetDirectLinkExporterUI() const { return DirectLinkUI.Get(); }