38261d0800
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines Signed-off-by: Steve Pham <spham@amazon.com>
32 lines
984 B
C++
32 lines
984 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
|