GraphValidationDockWidgetBus.h 778 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. #include <GraphCanvas/Editor/EditorTypes.h>
  11. namespace ScriptCanvasEditor
  12. {
  13. class GraphValidatorDockWidgetNotifications : public AZ::EBusTraits
  14. {
  15. public:
  16. static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById;
  17. using BusIdType = GraphCanvas::EditorId;
  18. virtual void OnResultsChanged(int erorrCount, int warningCount) = 0;
  19. };
  20. using GraphValidatorDockWidgetNotificationBus = AZ::EBus<GraphValidatorDockWidgetNotifications>;
  21. }