Files
o3de/Code/Framework/AzFramework/AzFramework/Script/ScriptDebugAgentBus.h
T
Steve Pham 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
2021-07-16 15:25:48 -07:00

34 lines
1003 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 SCRIPT_DEBUG_AGENT_BUS_H
#define SCRIPT_DEBUG_AGENT_BUS_H
#include <AzCore/EBus/EBus.h>
#include <AzCore/Script/ScriptContextDebug.h>
namespace AzFramework
{
/*
* The script debug agent, if available, will listen on this bus.
*/
class ScriptDebugAgentEvents
: public AZ::EBusTraits
{
public:
virtual ~ScriptDebugAgentEvents() {}
virtual void RegisterContext(AZ::ScriptContext* sc, const char* name) = 0; // Tells the agent that a new script context is available for debugging.
virtual void UnregisterContext(AZ::ScriptContext* sc) = 0; // Remove a script context from the agent's list.
};
typedef AZ::EBus<ScriptDebugAgentEvents> ScriptDebugAgentBus;
} // namespace HExFramework
#endif
#pragma once