mirror of
https://github.com/libretro/Play-.git
synced 2024-12-04 15:26:23 +00:00
40 lines
1019 B
C++
40 lines
1019 B
C++
#ifndef _THREADSVIEWWND_H_
|
|
#define _THREADSVIEWWND_H_
|
|
|
|
#include "win32/ListView.h"
|
|
#include "win32/ToolBar.h"
|
|
#include "../VirtualMachine.h"
|
|
#include "../MIPS.h"
|
|
#include "../BiosDebugInfoProvider.h"
|
|
#include "win32/MDIChild.h"
|
|
#include "Types.h"
|
|
|
|
class CThreadsViewWnd : public Framework::Win32::CMDIChild, public boost::signals2::trackable
|
|
{
|
|
public:
|
|
CThreadsViewWnd(HWND, CVirtualMachine&);
|
|
virtual ~CThreadsViewWnd();
|
|
|
|
void SetContext(CMIPS*, CBiosDebugInfoProvider*);
|
|
|
|
boost::signals2::signal<void (uint32)> OnGotoAddress;
|
|
|
|
protected:
|
|
long OnSize(unsigned int, unsigned int, unsigned int) override;
|
|
long OnSysCommand(unsigned int, LPARAM) override;
|
|
LRESULT OnNotify(WPARAM, NMHDR*) override;
|
|
|
|
private:
|
|
void CreateColumns();
|
|
void Update();
|
|
void RefreshLayout();
|
|
void OnListDblClick();
|
|
|
|
Framework::Win32::CListView m_listView;
|
|
|
|
CMIPS* m_context;
|
|
CBiosDebugInfoProvider* m_biosDebugInfoProvider;
|
|
};
|
|
|
|
#endif
|