CompressionModuleInterface.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 <AzCore/Memory/Memory_fwd.h>
  9. #include <AzCore/Module/Module.h>
  10. #include <AzCore/RTTI/RTTIMacros.h>
  11. #include <AzCore/RTTI/TypeInfoSimple.h>
  12. namespace Compression
  13. {
  14. class DecompressionRegistrarInterface;
  15. class CompressionModuleInterface
  16. : public AZ::Module
  17. {
  18. public:
  19. AZ_TYPE_INFO_WITH_NAME_DECL(CompressionModuleInterface);
  20. AZ_RTTI_NO_TYPE_INFO_DECL();
  21. AZ_CLASS_ALLOCATOR_DECL;
  22. CompressionModuleInterface();
  23. ~CompressionModuleInterface() override;
  24. /**
  25. * Add required SystemComponents to the SystemEntity.
  26. */
  27. AZ::ComponentTypeList GetRequiredSystemComponents() const override;
  28. private:
  29. // DecompressionRegistrar interface used to register Decompression interfaces
  30. // Available in ALL applications to allow decompression to occur
  31. AZStd::unique_ptr<DecompressionRegistrarInterface> m_decompressionRegistrarInterface;
  32. };
  33. }// namespace Compression