You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/LyShineExamples/Code/Source/LyShineExamplesInternalBus.h

31 lines
847 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <AzCore/EBus/EBus.h>
namespace LyShineExamples
{
class UiDynamicContentDatabase;
class LyShineExamplesInternal
: public AZ::EBusTraits
{
public:
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single;
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single;
// Public functions
//! Get the UiDynamicContentDatabase. It is gauranteed to be created when the
//! gem system component is activated.
virtual UiDynamicContentDatabase* GetUiDynamicContentDatabase() = 0;
};
using LyShineExamplesInternalBus = AZ::EBus<LyShineExamplesInternal>;
} // namespace LyShineExamples