Files
UnrealEngine/Engine/Source/Editor/PinnedCommandList/Private/PinnedCommandListModule.cpp
2025-05-18 13:04:45 +08:00

22 lines
597 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "IPinnedCommandListModule.h"
#include "Modules/ModuleManager.h"
#include "SPinnedCommandList.h"
#include "Templates/SharedPointer.h"
#include "UObject/NameTypes.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
class IPinnedCommandList;
class FPinnedCommandListModule : public IPinnedCommandListModule
{
public:
virtual TSharedRef<IPinnedCommandList> CreatePinnedCommandList(const FName& InContextName) override
{
return SNew(SPinnedCommandList, InContextName);
}
};
IMPLEMENT_MODULE(FPinnedCommandListModule, PinnedCommandList)