aboutsummaryrefslogtreecommitdiff
path: root/Plugins/SimpleUGC/Source/SimpleUGCEditor/Public/SimpleUGCEditor.h
diff options
context:
space:
mode:
authorivey <[email protected]>2020-06-15 15:54:16 -0400
committerivey <[email protected]>2020-06-15 15:54:16 -0400
commitd5310c3455f9849243b7b950deb4e910aa1f24dd (patch)
tree994a81eec10538d2a1efd9ed78469a249ff086f2 /Plugins/SimpleUGC/Source/SimpleUGCEditor/Public/SimpleUGCEditor.h
parentUpdated image paths. (diff)
downloadugcexample-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.h41
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