mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-29 06:07:56 +03:00
36 lines
740 B
C
36 lines
740 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include <QMdiArea>
|
||
|
#include <QMdiSubWindow>
|
||
|
#include <QTableView>
|
||
|
#include "QtGenericTableModel.h"
|
||
|
|
||
|
#include "VirtualMachine.h"
|
||
|
#include "MIPS.h"
|
||
|
#include "BiosDebugInfoProvider.h"
|
||
|
#include "Types.h"
|
||
|
#include "VirtualMachineStateView.h"
|
||
|
|
||
|
class CThreadsViewWnd : public QMdiSubWindow, public CVirtualMachineStateView
|
||
|
{
|
||
|
public:
|
||
|
CThreadsViewWnd(QMdiArea*);
|
||
|
virtual ~CThreadsViewWnd() = default;
|
||
|
|
||
|
void HandleMachineStateChange() override;
|
||
|
|
||
|
void SetContext(CMIPS*, CBiosDebugInfoProvider*);
|
||
|
|
||
|
Framework::CSignal<void(uint32)> OnGotoAddress;
|
||
|
|
||
|
private:
|
||
|
void Update();
|
||
|
// void OnListDblClick();
|
||
|
|
||
|
|
||
|
CMIPS* m_context;
|
||
|
CBiosDebugInfoProvider* m_biosDebugInfoProvider;
|
||
|
QTableView* m_tableView;
|
||
|
CQtGenericTableModel* m_model;
|
||
|
};
|