3
0

HttpRequestorModule.cpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 "HttpRequestorSystemComponent.h"
  9. #include <AzCore/Module/Module.h>
  10. namespace HttpRequestor
  11. {
  12. class HttpRequestorModule
  13. : public AZ::Module
  14. {
  15. public:
  16. AZ_RTTI(HttpRequestorModule, "{FD411E40-AF83-4F6B-A5A3-F59AB71150BF}", AZ::Module);
  17. HttpRequestorModule()
  18. : AZ::Module()
  19. {
  20. // Push results of [MyComponent]::CreateDescriptor() into m_descriptors here.
  21. m_descriptors.insert(m_descriptors.end(), {
  22. HttpRequestorSystemComponent::CreateDescriptor(),
  23. });
  24. }
  25. /**
  26. * Add required SystemComponents to the SystemEntity.
  27. */
  28. AZ::ComponentTypeList GetRequiredSystemComponents() const override
  29. {
  30. return AZ::ComponentTypeList{
  31. azrtti_typeid<HttpRequestorSystemComponent>(),
  32. };
  33. }
  34. };
  35. }
  36. // DO NOT MODIFY THIS LINE UNLESS YOU RENAME THE GEM
  37. // The first parameter should be GemName_GemIdLower
  38. // The second should be the fully qualified name of the class above
  39. AZ_DECLARE_MODULE_CLASS(Gem_HttpRequestor, HttpRequestor::HttpRequestorModule)