diff options
| author | ivey <[email protected]> | 2020-06-15 15:54:16 -0400 |
|---|---|---|
| committer | ivey <[email protected]> | 2020-06-15 15:54:16 -0400 |
| commit | d5310c3455f9849243b7b950deb4e910aa1f24dd (patch) | |
| tree | 994a81eec10538d2a1efd9ed78469a249ff086f2 /Plugins/SimpleUGC/Source/SimpleUGCEditor/Public/SimpleUGCEditor.h | |
| parent | Updated image paths. (diff) | |
| download | ugcexample-d5310c3455f9849243b7b950deb4e910aa1f24dd.tar.xz ugcexample-d5310c3455f9849243b7b950deb4e910aa1f24dd.zip | |
Initial commit of the UGCExample Project
Diffstat (limited to 'Plugins/SimpleUGC/Source/SimpleUGCEditor/Public/SimpleUGCEditor.h')
| -rw-r--r-- | Plugins/SimpleUGC/Source/SimpleUGCEditor/Public/SimpleUGCEditor.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Plugins/SimpleUGC/Source/SimpleUGCEditor/Public/SimpleUGCEditor.h b/Plugins/SimpleUGC/Source/SimpleUGCEditor/Public/SimpleUGCEditor.h new file mode 100644 index 0000000..574e7d9 --- /dev/null +++ b/Plugins/SimpleUGC/Source/SimpleUGCEditor/Public/SimpleUGCEditor.h @@ -0,0 +1,41 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#include "CoreMinimal.h" +#include "Slate.h" +#include "SimpleUGCPackager.h" +#include "Modules\ModuleManager.h" + +class FToolBarBuilder; +class FMenuBuilder; + +class FSimpleUGCEditorModule : public IModuleInterface +{ +public: + + /** IModuleInterface implementation */ + virtual void StartupModule() override; + virtual void ShutdownModule() override; + + // When the Create Button is clicked + void CreateUGCButtonClicked(); + + /** Adds the plugin creator as a new toolbar button */ + void AddUGCCreatorToolbarExtension(FToolBarBuilder& Builder); + + /** Adds the plugin creator as a new menu option */ + void AddUGCCreatorMenuExtension(FMenuBuilder& Builder); + + /** Adds the plugin packager as a new toolbar button */ + void AddUGCPackagerToolbarExtension(FToolBarBuilder& Builder); + + /** Adds the plugin packager as a new menu option */ + void AddUGCPackagerMenuExtension(FMenuBuilder& Builder); + +private: + + TSharedPtr<class FSimpleUGCCreator> UGCCreator; + TSharedPtr<class FSimpleUGCPackager> UGCPackager; + TSharedPtr<class FUICommandList> PluginCommands; +};
\ No newline at end of file |