ExampleComponentBus.h 668 B

12345678910111213141516171819202122232425
  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/Component/ComponentBus.h>
  10. namespace AtomSampleViewer
  11. {
  12. /**
  13. * ExampleComponentRequestBus provides an interface to request operations on an example component
  14. */
  15. class ExampleComponentRequests
  16. : public AZ::ComponentBus
  17. {
  18. public:
  19. virtual void ResetCamera() = 0;
  20. };
  21. using ExampleComponentRequestBus = AZ::EBus<ExampleComponentRequests>;
  22. } // namespace AtomSampleViewer