31 lines
660 B
C
31 lines
660 B
C
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "CoreMinimal.h"
|
||
|
#include "Modules/ModuleManager.h"
|
||
|
|
||
|
class FToolBarBuilder;
|
||
|
class FMenuBuilder;
|
||
|
|
||
|
class FSkyPortalModule : public IModuleInterface
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
/** IModuleInterface implementation */
|
||
|
virtual void StartupModule() override;
|
||
|
virtual void ShutdownModule() override;
|
||
|
|
||
|
/** This function will be bound to Command (by default it will bring up plugin window) */
|
||
|
void PluginButtonClicked();
|
||
|
|
||
|
private:
|
||
|
|
||
|
void RegisterMenus();
|
||
|
|
||
|
TSharedRef<class SDockTab> OnSpawnPluginTab(const class FSpawnTabArgs& SpawnTabArgs);
|
||
|
|
||
|
private:
|
||
|
TSharedPtr<class FUICommandList> PluginCommands;
|
||
|
};
|