2
0

PythonCoverageEditorModule.cpp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
  3. * its licensors.
  4. *
  5. * For complete copyright and license terms please see the LICENSE at the root of this
  6. * distribution (the "License"). All use of this software is governed by the License,
  7. * or, if provided, by the license below or the license accompanying this file. Do not
  8. * remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
  9. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. *
  11. */
  12. #include "PythonCoverageEditorModule.h"
  13. #include "PythonCoverageEditorSystemComponent.h"
  14. namespace PythonCoverage
  15. {
  16. AZ_CLASS_ALLOCATOR_IMPL(PythonCoverageEditorModule, AZ::SystemAllocator, 0)
  17. PythonCoverageEditorModule::PythonCoverageEditorModule()
  18. {
  19. m_descriptors.insert(
  20. m_descriptors.end(),
  21. {
  22. PythonCoverageEditorSystemComponent::CreateDescriptor()
  23. });
  24. }
  25. PythonCoverageEditorModule::~PythonCoverageEditorModule() = default;
  26. AZ::ComponentTypeList PythonCoverageEditorModule::GetRequiredSystemComponents() const
  27. {
  28. // add required SystemComponents to the SystemEntity
  29. return AZ::ComponentTypeList{ azrtti_typeid<PythonCoverageEditorSystemComponent>() };
  30. }
  31. } // namespace PythonCoverage
  32. AZ_DECLARE_MODULE_CLASS(Gem_PythonCoverageEditor, PythonCoverage::PythonCoverageEditorModule)