2024-04-08 01:40:56 -07:00
|
|
|
#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:40:56 -07:00
|
|
|
|
2024-04-08 01:57:55 -07:00
|
|
|
protected:
|
|
|
|
void StartupModule() override;
|
|
|
|
void ShutdownModule() override;
|
2024-04-08 01:40:56 -07:00
|
|
|
};
|