Files
o3de/Code/Tools/Standalone/Source/LUA/ScriptCheckerAPI.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

40 lines
1.1 KiB
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 SCRIPTCHECKER_H
#define SCRIPTCHECKER_H
#include <AzCore/base.h>
#include <AzCore/EBus/EBus.h>
namespace LUAEditor
{
class ScriptCheckerRequests
: public AZ::EBusTraits
{
public:
//////////////////////////////////////////////////////////////////////////
// Bus configuration
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single;
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ:: EBusHandlerPolicy::Single;
//////////////////////////////////////////////////////////////////////////
typedef AZ::EBus<ScriptCheckerRequests> Bus;
typedef Bus::Handler Handler;
virtual void StartScriptingCheck(const BreakpointMap& uniqueBreakpoints) = 0;
virtual void BreakpointHit(const Breakpoint& bp) = 0;
virtual void BreakpointResume() = 0;
virtual ~ScriptCheckerRequests() {}
};
}
#pragma once
#endif