diff options
Diffstat (limited to 'qtmips_gui/gotosymboldialog.h')
-rw-r--r-- | qtmips_gui/gotosymboldialog.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/qtmips_gui/gotosymboldialog.h b/qtmips_gui/gotosymboldialog.h new file mode 100644 index 0000000..27e8df2 --- /dev/null +++ b/qtmips_gui/gotosymboldialog.h @@ -0,0 +1,30 @@ +#ifndef GOTOSYMBOLDIALOG_H +#define GOTOSYMBOLDIALOG_H + +#include <QDialog> +#include <QList> +#include <QStringList> + +namespace Ui { +class GoToSymbolDialog; +} + +class GoToSymbolDialog : public QDialog +{ + Q_OBJECT + +public: + explicit GoToSymbolDialog(QWidget *parent, QStringList &symlist); + ~GoToSymbolDialog(); +signals: + void program_focus_addr(std::uint32_t); + void memory_focus_addr(std::uint32_t); + bool obtain_value_for_name(std::uint32_t &value, QString name) const; +public slots: + void show_prog(); + void show_mem(); +private: + Ui::GoToSymbolDialog *ui; +}; + +#endif // GOTOSYMBOLDIALOG_H |