ModuleTestBus.h 645 B

123456789101112131415161718192021222324
  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/EBus/EBus.h>
  9. class ModuleTestRequests
  10. : public AZ::EBusTraits
  11. {
  12. public:
  13. static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple;
  14. static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single;
  15. virtual ~ModuleTestRequests() = default;
  16. virtual const char* GetModuleName() = 0;
  17. };
  18. using ModuleTestRequestBus = AZ::EBus<ModuleTestRequests>;