ArchiveModule.cpp 783 B

1234567891011121314151617181920212223242526272829
  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 <Archive/ArchiveTypeIds.h>
  9. #include <ArchiveModuleInterface.h>
  10. #include "ArchiveSystemComponent.h"
  11. namespace Archive
  12. {
  13. class ArchiveModule
  14. : public ArchiveModuleInterface
  15. {
  16. public:
  17. AZ_RTTI(ArchiveModule, ArchiveModuleTypeId, ArchiveModuleInterface);
  18. AZ_CLASS_ALLOCATOR(ArchiveModule, AZ::SystemAllocator);
  19. };
  20. }// namespace Archive
  21. #if defined(O3DE_GEM_NAME)
  22. AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME), Archive::ArchiveModule)
  23. #else
  24. AZ_DECLARE_MODULE_CLASS(Gem_Archive, Archive::ArchiveModule)
  25. #endif