Program Listing for File ZagalaSpecEditor.h#

↰ Return to documentation for file (ZagalaSpecEditor/Public/ZagalaSpecEditor.h)

// Copyright (c) 2026, Zagala Game Solutions. All rights reserved.

#pragma once

#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"

class FZagalaSpecDocumentLayout;
class FZagalaSpecDocumentRowRendererRegistry;
class FZagalaSpecFeatureEditorTabRegistry;
class FZagalaSpecRowDetailsProviderRegistry;
class IAssetTypeActions;

class ZAGALASPECEDITOR_API FZagalaSpecEditorModule : public IModuleInterface
{
public:
    static FZagalaSpecEditorModule& Get();


    virtual void StartupModule() override;
    virtual void ShutdownModule() override;

    TSharedRef<FZagalaSpecDocumentLayout> GetFeatureLayout() const;

    TSharedRef<FZagalaSpecDocumentLayout> GetScenarioLayout() const;

    TSharedRef<FZagalaSpecRowDetailsProviderRegistry> GetDetailsProviderRegistry() const;

    TSharedRef<FZagalaSpecDocumentRowRendererRegistry> GetRowRendererRegistry() const;

    TSharedRef<FZagalaSpecFeatureEditorTabRegistry> GetTabRegistry() const;

private:
    TSharedPtr<FZagalaSpecDocumentLayout> ScenarioLayout;

    TSharedPtr<FZagalaSpecDocumentLayout> FeatureLayout;

    TSharedPtr<FZagalaSpecRowDetailsProviderRegistry> DetailsProviderRegistry;

    TSharedPtr<FZagalaSpecDocumentRowRendererRegistry> RowRendererRegistry;

    TSharedPtr<FZagalaSpecFeatureEditorTabRegistry> TabRegistry;

    TSharedPtr<IAssetTypeActions> AssetTypeActions;

    FName CustomizedExamplesClassName;
};