3
0

VideoPlaybackFrameworkModule.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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 "VideoPlaybackFrameworkModule.h"
  9. #include "VideoPlaybackFrameworkSystemComponent.h"
  10. namespace VideoPlaybackFramework
  11. {
  12. VideoPlaybackFrameworkModule::VideoPlaybackFrameworkModule()
  13. {
  14. // Push results of [MyComponent]::CreateDescriptor() into m_descriptors here.
  15. m_descriptors.insert(m_descriptors.end(), {
  16. VideoPlaybackFrameworkSystemComponent::CreateDescriptor(),
  17. });
  18. }
  19. AZ::ComponentTypeList VideoPlaybackFrameworkModule::GetRequiredSystemComponents() const
  20. {
  21. return AZ::ComponentTypeList{
  22. azrtti_typeid<VideoPlaybackFrameworkSystemComponent>(),
  23. };
  24. }
  25. }
  26. #if defined(O3DE_GEM_NAME)
  27. AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME), VideoPlaybackFramework::VideoPlaybackFrameworkModule)
  28. #else
  29. AZ_DECLARE_MODULE_CLASS(Gem_VideoPlaybackFramework, VideoPlaybackFramework::VideoPlaybackFrameworkModule)
  30. #endif