Surgo/Project/Source/SurgoEditor/SurgoEditorModule.h

20 lines
425 B
C
Raw Normal View History

#pragma once
#include "Modules/ModuleInterface.h"
class SURGOEDITOR_API FSurgoEditorModule : public IModuleInterface
{
public:
2024-04-08 01:57:55 -07:00
static bool IsAvailable() {
return FModuleManager::Get().IsModuleLoaded("SurgoEditor");
}
static FSurgoEditorModule& Get() {
return FModuleManager::LoadModuleChecked<FSurgoEditorModule>("SurgoEditor");
}
2024-04-08 01:57:55 -07:00
protected:
void StartupModule() override;
void ShutdownModule() override;
};