Debian Codegraph @

src/GotoDialog.h

raw symbols SCIP
1 #ifndef GOTODIALOG_H
2 #define GOTODIALOG_H
3
4 #include "ui_GotoDialog.h"
5 #include <QDialog>
6 #include <optional>
7
8 struct MemoryLayout;
9
10 class DebugSession;
11 class Symbol;
12
13 class GotoDialog : public QDialog, private Ui::GotoDialog
14 {
15 Q_OBJECT
16 public:
17 GotoDialog(const MemoryLayout& ml, DebugSession* session = nullptr, QWidget* parent = nullptr);
18
19 std::optional<uint16_t> address();
20
21 private:
22 void addressChanged(const QString& text);
23
24 private:
25 const MemoryLayout& memLayout;
26
27 DebugSession* debugSession;
28 Symbol* currentSymbol;
29 };
30
31 #endif // GOTODIALOG_H