Files
UnrealEngineUWP/Engine/Source/Editor/SoundClassEditor/Public/SoundClassEditorModule.h
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

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;
};