${Name}Module.cpp 833 B

123456789101112131415161718192021222324252627
  1. // {BEGIN_LICENSE}
  2. /*
  3. * Copyright (c) Contributors to the Open 3D Engine Project.
  4. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. *
  6. * SPDX-License-Identifier: Apache-2.0 OR MIT
  7. *
  8. */
  9. // {END_LICENSE}
  10. #include <${Name}/${Name}TypeIds.h>
  11. #include <${Name}ModuleInterface.h>
  12. #include "${Name}SystemComponent.h"
  13. namespace ${SanitizedCppName}
  14. {
  15. class ${SanitizedCppName}Module
  16. : public ${SanitizedCppName}ModuleInterface
  17. {
  18. public:
  19. AZ_RTTI(${SanitizedCppName}Module, ${SanitizedCppName}ModuleTypeId, ${SanitizedCppName}ModuleInterface);
  20. AZ_CLASS_ALLOCATOR(${SanitizedCppName}Module, AZ::SystemAllocator);
  21. };
  22. }// namespace ${SanitizedCppName}
  23. AZ_DECLARE_MODULE_CLASS(Gem_${SanitizedCppName}, ${SanitizedCppName}::${SanitizedCppName}Module)