[atom_cpu_profiler_gem_promotion] added optional AZ::Interface usage to ProfilerImGuiRequests

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
This commit is contained in:
AMZN-ScottR
2021-10-18 10:51:15 -07:00
parent 6480bc8b86
commit fa4e91b05c
2 changed files with 14 additions and 0 deletions
@@ -8,6 +8,7 @@
#pragma once
#include <AzCore/EBus/EBus.h>
#include <AzCore/Interface/Interface.h>
namespace Profiler
{
@@ -31,5 +32,6 @@ namespace Profiler
static constexpr AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single;
};
using ProfilerImGuiInterface = AZ::Interface<ProfilerImGuiRequests>;
using ProfilerImGuiRequestBus = AZ::EBus<ProfilerImGuiRequests, ProfilerImGuiBusTraits>;
} // namespace Profiler