22 lines
440 B
C++
22 lines
440 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <memory>
|
|
namespace NEO {
|
|
struct HardwareInfo;
|
|
class Debugger {
|
|
public:
|
|
static std::unique_ptr<Debugger> create(HardwareInfo *hwInfo);
|
|
virtual ~Debugger() = default;
|
|
virtual bool isDebuggerActive() = 0;
|
|
bool isLegacy() const { return isLegacyMode; }
|
|
|
|
protected:
|
|
bool isLegacyMode = true;
|
|
};
|
|
} // namespace NEO
|