ProjectManagerBuses.h 825 B

1234567891011121314151617181920212223242526
  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. #pragma once
  9. #include <AzCore/EBus/EBus.h>
  10. namespace O3DE::ProjectManager
  11. {
  12. class ProjectManagerUtilityRequests : public AZ::EBusTraits
  13. {
  14. public:
  15. using Bus = AZ::EBus<ProjectManagerUtilityRequests>;
  16. static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple;
  17. static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single;
  18. virtual void CanCloseProjectManager(bool& result) const = 0;
  19. };
  20. using ProjectManagerUtilityRequestsBus = AZ::EBus<ProjectManagerUtilityRequests>;
  21. } // namespace O3DE::ProjectManager