AtomSampleViewerRequestBus.h 621 B

1234567891011121314151617181920212223
  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 AtomSampleViewer
  11. {
  12. class AtomSampleViewerRequests
  13. : public AZ::EBusTraits
  14. {
  15. public:
  16. //! Return the specified exit code when exiting AtomSampleViewer
  17. virtual void SetExitCode(int exitCode) = 0;
  18. };
  19. using AtomSampleViewerRequestsBus = AZ::EBus<AtomSampleViewerRequests>;
  20. } // namespace AtomSampleViewer