You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "UnrealEd.h"
|
|
#include "ModuleInterface.h"
|
|
#include "Toolkits/AssetEditorToolkit.h"
|
|
#include "Toolkits/IToolkit.h"
|
|
|
|
|
|
|
|
extern const FName SoundClassEditorAppIdentifier;
|
|
|
|
/*-----------------------------------------------------------------------------
|
|
ISoundCueEditor
|
|
-----------------------------------------------------------------------------*/
|
|
|
|
class ISoundClassEditor : public FAssetEditorToolkit
|
|
{
|
|
public:
|
|
/**
|
|
* Creates a new sound class
|
|
*
|
|
* @param FromPin Pin that was dragged to create sound class
|
|
* @param Location Location for new sound class
|
|
* @param Name Name of the new sound class
|
|
*/
|
|
virtual void CreateSoundClass(class UEdGraphPin* FromPin, const FVector2D& Location, FString Name) = 0;
|
|
};
|
|
|
|
/**
|
|
* Sound class editor module interface
|
|
*/
|
|
class ISoundClassEditorModule : public IModuleInterface,
|
|
public IHasMenuExtensibility, public IHasToolBarExtensibility
|
|
{
|
|
public:
|
|
/**
|
|
* Creates a new sound class editor for a sound class object
|
|
*/
|
|
virtual TSharedRef<FAssetEditorToolkit> CreateSoundClassEditor( const EToolkitMode::Type Mode, const TSharedPtr< IToolkitHost >& InitToolkitHost, USoundClass* InSoundClass ) = 0;
|
|
};
|