3
0

AWSCoreResourceMappingToolModule.cpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <AzCore/Module/Module.h>
  9. #include <AWSCoreEditorSystemComponent.h>
  10. namespace AWSCore
  11. {
  12. class AWSCoreResourceMappingToolModule
  13. : public AZ::Module
  14. {
  15. public:
  16. AZ_RTTI(AWSCoreResourceMappingToolModule, "{9D16F400-009C-47FF-A186-E48BEB73D94D}", AZ::Module);
  17. AZ_CLASS_ALLOCATOR(AWSCoreResourceMappingToolModule, AZ::SystemAllocator);
  18. AWSCoreResourceMappingToolModule()
  19. {
  20. m_descriptors.insert(m_descriptors.end(),
  21. {
  22. AWSCoreEditorSystemComponent::CreateDescriptor(),
  23. });
  24. }
  25. ~AWSCoreResourceMappingToolModule() override = default;
  26. AZ::ComponentTypeList GetRequiredSystemComponents() const override
  27. {
  28. return AZ::ComponentTypeList{azrtti_typeid<AWSCoreEditorSystemComponent>()};
  29. }
  30. };
  31. }
  32. // DO NOT MODIFY THIS LINE UNLESS YOU RENAME THE GEM
  33. // The first parameter should be GemName_GemIdLower
  34. // The second should be the fully qualified name of the class above
  35. AZ_DECLARE_MODULE_CLASS(Gem_AWSCore_ResourceMappingTool, AWSCore::AWSCoreResourceMappingToolModule)