ImportContextRegistryComponent.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. #pragma once
  9. #include <SceneAPI/SceneBuilder/ImportContextRegistryManager.h>
  10. #include <SceneAPI/SceneCore/Components/SceneSystemComponent.h>
  11. namespace AZ
  12. {
  13. namespace SceneAPI
  14. {
  15. namespace SceneBuilder
  16. {
  17. class ImportContextRegistryComponent
  18. : public AZ::SceneAPI::SceneCore::SceneSystemComponent
  19. {
  20. public:
  21. AZ_COMPONENT(ImportContextRegistryComponent, "{9453ddf4-882c-4675-86eb-834f1d1dc5ef}", SceneCore::SceneSystemComponent);
  22. ~ImportContextRegistryComponent() override = default;
  23. void Activate() override;
  24. void Deactivate() override;
  25. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  26. static void Reflect(ReflectContext* context);
  27. private:
  28. ImportContextRegistryManager m_sceneSystemRegistry;
  29. };
  30. } // namespace SceneCore
  31. } // namespace SceneAPI
  32. } // namespace AZ