HAxis sos

This commit is contained in:
guus
2018-08-11 16:46:35 +02:00
commit 510654f8a1
480 changed files with 54126 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleManager.h"
#include "IPolishBuildingsTool.h"
/**
* Merge Actors module interface
*/
class IPolishBuildingsModule : public IModuleInterface
{
public:
/**
* Get reference to the Merge Actors module instance
*/
static inline IPolishBuildingsModule& Get()
{
return FModuleManager::LoadModuleChecked<IPolishBuildingsModule>("PolishBuildings");
}
/**
* Register an IPolishBuildingsTool with the module, passing ownership to it
*/
virtual bool RegisterPolishBuildingsTool(TUniquePtr<IPolishBuildingsTool> Tool) = 0;
/**
* Unregister an IPolishBuildingsTool with the module
*/
virtual bool UnregisterPolishBuildingsTool(IPolishBuildingsTool* Tool) = 0;
};

View File

@@ -0,0 +1,43 @@
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* Merge Actors tool interface
*/
class IPolishBuildingsTool
{
public:
/** Virtual destructor */
virtual ~IPolishBuildingsTool() {}
/**
* Gets the widget instance associated with this tool
*/
virtual TSharedRef<SWidget> GetWidget() = 0;
/**
* Get the name of the icon displayed in the Merge Actors toolbar
*/
virtual FName GetIconName() const = 0;
/**
* Get Tooltip text displayed in the Merge Actors toolbar
*/
virtual FText GetTooltipText() const = 0;
/**
* Get default name for the merged asset package
*/
virtual FString GetDefaultPackageName() const = 0;
/**
* Perform merge operation
*
* @param PackageName Long package name of the asset to create
* @return true if the merge succeeded
*/
virtual bool RunMerge(const FString& PackageName) = 0;
};