Play-/Source/ui_win32/ThreadsViewWnd.h
Jean-Philip Desjardins 52925f7ed6 Win32 cleanup build fix.
2017-01-09 22:01:09 -05:00

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