AtomSampleViewerToolsModule.cpp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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/RTTI/RTTI.h>
  9. #include <AzCore/Module/Module.h>
  10. #include <Tools/AtomSampleViewerToolsSystemComponent.h>
  11. namespace AtomSampleViewer
  12. {
  13. namespace Tools
  14. {
  15. /**
  16. * Module for AtomSampleViewer code used in AssetProcessor and other tools.
  17. */
  18. class AtomSampleViewerToolsModule final
  19. : public AZ::Module
  20. {
  21. public:
  22. AZ_RTTI(AtomSampleViewerToolsModule, "{1945C729-77D2-4727-83FA-10E2271D62FE}", AZ::Module);
  23. AtomSampleViewerToolsModule()
  24. {
  25. m_descriptors.push_back(AtomSampleViewerToolsSystemComponent::CreateDescriptor());
  26. }
  27. AZ::ComponentTypeList GetRequiredSystemComponents() const override
  28. {
  29. return AZ::ComponentTypeList();
  30. }
  31. };
  32. } // namespace RPI
  33. } // namespace AZ
  34. // DO NOT MODIFY THIS LINE UNLESS YOU RENAME THE GEM
  35. // The first parameter should be GemName_GemIdLower
  36. // The second should be the fully qualified name of the class above
  37. AZ_DECLARE_MODULE_CLASS(AtomSampleViewerGem_2114099d7a8940c2813e93b8b417277e, AtomSampleViewer::Tools::AtomSampleViewerToolsModule);