Files
o3de/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsMessaging/EntityHighlightBus.h
T
Steve Pham b4a2edec6a Final update copyright headers to reference license files at the repo root (#1693)
* Final update copyright headers to reference license files at the repo root

Signed-off-by: spham <spham@amazon.com>

* Fix copyright validator unit tests to support the stale O3DE header scenario

Signed-off-by: spham <spham@amazon.com>
2021-06-30 19:51:55 -07:00

31 lines
982 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#ifndef ENTITY_HIGHLIGHT_BUS_H
#define ENTITY_HIGHLIGHT_BUS_H
#include <AzCore/base.h>
#include <AzCore/EBus/EBus.h>
namespace AzToolsFramework
{
class EntityHighlightMessages
: public AZ::EBusTraits
{
public:
using Bus = AZ::EBus<EntityHighlightMessages>;
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single; // there is one bus that everyone on it listens to
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple; // every listener registers unordered on this bus
virtual void EntityHighlightRequested(AZ::EntityId) = 0;
virtual void EntityStrongHighlightRequested(AZ::EntityId) = 0;
};
}
#endif // EDITOR_ENTITY_ID_LIST_CONTAINER_H