CompressionSystemComponent.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 <AzCore/Component/Component.h>
  10. #include <Compression/CompressionBus.h>
  11. namespace Compression
  12. {
  13. class CompressionSystemComponent
  14. : public AZ::Component
  15. , protected CompressionRequestBus::Handler
  16. {
  17. public:
  18. AZ_COMPONENT_DECL(CompressionSystemComponent);
  19. static void Reflect(AZ::ReflectContext* context);
  20. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  21. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  22. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  23. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  24. CompressionSystemComponent();
  25. ~CompressionSystemComponent();
  26. protected:
  27. ////////////////////////////////////////////////////////////////////////
  28. // CompressionRequestBus interface implementation
  29. ////////////////////////////////////////////////////////////////////////
  30. ////////////////////////////////////////////////////////////////////////
  31. // AZ::Component interface implementation
  32. void Init() override;
  33. void Activate() override;
  34. void Deactivate() override;
  35. ////////////////////////////////////////////////////////////////////////
  36. };
  37. } // namespace Compression