project64/Source/Project64/UserInterface/Debugger/Debugger-AddSymbol.h

43 lines
1.0 KiB
C
Raw Normal View History

2017-08-18 05:08:22 +00:00
#pragma once
class CAddSymbolDlg : public CDialogImpl<CAddSymbolDlg>
{
public:
2022-09-26 02:31:54 +00:00
enum
{
IDD = IDD_Debugger_AddSymbol
};
2017-09-13 10:36:03 +00:00
2022-09-26 02:31:54 +00:00
INT_PTR DoModal(CDebuggerUI * debugger);
INT_PTR DoModal(CDebuggerUI * debugger, uint32_t initAddress);
INT_PTR DoModal(CDebuggerUI * debugger, uint32_t initAddress, int initType);
2017-08-18 05:08:22 +00:00
private:
2022-09-26 02:31:54 +00:00
CDebuggerUI * m_Debugger;
2017-09-13 10:36:03 +00:00
bool m_bHaveAddress;
bool m_bHaveType;
uint32_t m_InitAddress;
int m_InitType;
CEditNumber32 m_AddressEdit;
2022-09-26 02:31:54 +00:00
CComboBox m_TypeComboBox;
CEdit m_NameEdit;
CEdit m_DescriptionEdit;
2017-09-13 10:36:03 +00:00
2022-09-26 02:31:54 +00:00
LRESULT OnClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL & bHandled);
LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL & /*bHandled*/);
2017-09-13 10:36:03 +00:00
LRESULT OnDestroy(void)
{
return 0;
}
BEGIN_MSG_MAP_EX(CAddSymbolDlg)
2022-09-26 02:31:54 +00:00
{
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog);
COMMAND_CODE_HANDLER(BN_CLICKED, OnClicked);
MSG_WM_DESTROY(OnDestroy);
}
END_MSG_MAP()
2017-08-18 05:08:22 +00:00
};