blob: be291fa66d8ea4c6a805dc42da25cc2008b0ba97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
// license:BSD-3-Clause
// copyright-holders:Andrew Gardner, Vas Crabb
/*********************************************************************
dvbpoints.h
Breakpoint debugger view.
***************************************************************************/
#ifndef MAME_EMU_DEBUG_DVBPOINTS_H
#define MAME_EMU_DEBUG_DVBPOINTS_H
#pragma once
#include "debugvw.h"
#include <vector>
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
// debug view for breakpoints
class debug_view_breakpoints : public debug_view
{
friend class debug_view_manager;
// construction/destruction
debug_view_breakpoints(running_machine &machine, debug_view_osd_update_func osdupdate, void *osdprivate);
virtual ~debug_view_breakpoints();
protected:
// view overrides
virtual void view_update() override;
virtual void view_click(const int button, const debug_view_xy& pos) override;
private:
// internal helpers
void enumerate_sources();
void pad_ostream_to_length(std::ostream& str, int len);
void gather_breakpoints();
// internal state
bool (*m_sortType)(const debug_breakpoint *, const debug_breakpoint *);
std::vector<const debug_breakpoint *> m_buffer;
};
#endif // MAME_EMU_DEBUG_DVBPOINTS_H
|