Files
UnrealEngineUWP/Engine/Source/Editor/InputBindingEditor/Private/InputBindingEditorModule.cpp
Max Preussner 121fccd2ab Code and documentation cleanup pass
- removed dummy UClasses (no longer needed)
- removed file header comments (not used)
- removed duplicated function documentation in cpp files
- documentation cleanup, punctuation, spelling etc.
- pragma once include guards (now work on all platforms)
- relative public includes (are auto-discovered by UBT)
- fixed too many/too few line breaks
- deleted empty files
- missing override
- NULL to nullptr

[CL 2305058 by Max Preussner in Main branch]
2014-09-21 20:35:48 -04:00

37 lines
792 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "InputBindingEditorPrivatePCH.h"
/**
* Implements the LauncherUI module.
*/
class FInputBindingEditorModule
: public IInputBindingEditorModule
{
public:
// IInputBindingEditorModule interface
virtual TWeakPtr<SWidget> CreateInputBindingEditorPanel( ) override
{
TSharedPtr<SWidget> Panel = SNew(SInputBindingEditorPanel);
BindingEditorPanels.Add(Panel);
return Panel;
}
virtual void DestroyInputBindingEditorPanel( const TWeakPtr<SWidget>& Panel ) override
{
BindingEditorPanels.Remove(Panel.Pin());
}
private:
/** Holds the collection of created binding editor panels. */
TArray<TSharedPtr<SWidget> > BindingEditorPanels;
};
IMPLEMENT_MODULE(FInputBindingEditorModule, InputBindingEditor);