summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/Debugger/BreakpointCallback.h
blob: 45a3207c0880c29d84c34af181c856d6ae7f7336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2020, Itamar S. <itamar8910@gmail.com>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Function.h>
#include <AK/String.h>
#include <AK/Types.h>

namespace HackStudio {

enum class BreakpointChange {
    Added,
    Removed,
};

using BreakpointChangeCallback = Function<void(const String& file, size_t line, BreakpointChange)>;
}