diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-02 15:47:44 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-02 15:49:18 -0500 |
| commit | bcc6100941117dc84fb9ece3812da340d96c61a6 (patch) | |
| tree | d27a97e5a4a8cfa6bfdb3688c2be0183f69e3fbd /src/DebuggerKit/DebuggerContract.h | |
| parent | f7930b3a1279922cf9e6e75e651fe9b5df247bc6 (diff) | |
chore! reworked source code to exclude `Bool`, `Boolean`, and `nullPtr` macros.
fix: ErrorOr: Return `Ref<T>&` when using Leak.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/DebuggerKit/DebuggerContract.h')
| -rw-r--r-- | src/DebuggerKit/DebuggerContract.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/DebuggerKit/DebuggerContract.h b/src/DebuggerKit/DebuggerContract.h index 424bd80..4585790 100644 --- a/src/DebuggerKit/DebuggerContract.h +++ b/src/DebuggerKit/DebuggerContract.h @@ -9,10 +9,10 @@ #include <DebuggerKit/Config.h> #include <unordered_map> -#define DK_DEBUGGER_CONTRACT : public ::DebuggerKit::DebuggerContract +#define DK_DEBUGGER_CONTRACT : public ::DebuggerKit::IDebuggerContract namespace DebuggerKit { -class DebuggerContract; +class IDebuggerContract; /// =========================================================== /// /// \brief Process ID @@ -28,14 +28,14 @@ typedef char* CAddress; /// \brief Debugger contract class in C++, as per the design states. /// \author Amlal El Mahrouss /// =========================================================== /// -class DebuggerContract { +class IDebuggerContract { public: - explicit DebuggerContract() = default; - virtual ~DebuggerContract() = default; + explicit IDebuggerContract() = default; + virtual ~IDebuggerContract() = default; public: - DebuggerContract& operator=(const DebuggerContract&) = default; - DebuggerContract(const DebuggerContract&) = default; + IDebuggerContract& operator=(const IDebuggerContract&) = default; + IDebuggerContract(const IDebuggerContract&) = default; public: virtual bool Attach(std::string path, std::string argv, ProcessID& pid) noexcept = 0; |
