2013-04-18 03:43:35 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 04:46:09 +00:00
|
|
|
|
|
|
|
#ifndef __BREAKPOINTWINDOW_h__
|
|
|
|
#define __BREAKPOINTWINDOW_h__
|
|
|
|
|
2011-02-27 23:03:08 +00:00
|
|
|
#include <wx/wx.h>
|
2011-02-28 20:40:15 +00:00
|
|
|
#include <wx/listctrl.h>
|
2011-02-27 23:03:08 +00:00
|
|
|
#include <wx/aui/aui.h>
|
|
|
|
|
2008-12-08 04:46:09 +00:00
|
|
|
class CBreakPointView;
|
|
|
|
class CCodeWindow;
|
|
|
|
|
2011-02-27 23:03:08 +00:00
|
|
|
class CBreakPointWindow : public wxPanel
|
2008-12-08 04:46:09 +00:00
|
|
|
{
|
2011-02-25 09:35:56 +00:00
|
|
|
public:
|
|
|
|
|
|
|
|
CBreakPointWindow(CCodeWindow* _pCodeWindow,
|
|
|
|
wxWindow* parent,
|
|
|
|
wxWindowID id = wxID_ANY,
|
2011-02-27 23:03:08 +00:00
|
|
|
const wxString& title = wxT("Breakpoints"),
|
2011-02-25 09:35:56 +00:00
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxTAB_TRAVERSAL | wxBORDER_NONE);
|
2011-02-27 23:03:08 +00:00
|
|
|
~CBreakPointWindow();
|
2011-02-25 09:35:56 +00:00
|
|
|
|
|
|
|
void NotifyUpdate();
|
|
|
|
|
2011-02-27 23:03:08 +00:00
|
|
|
void OnDelete(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void OnClear(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void OnAddBreakPoint(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void OnAddMemoryCheck(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void Event_SaveAll(wxCommandEvent& WXUNUSED(event));
|
2011-02-25 23:15:53 +00:00
|
|
|
void SaveAll();
|
2011-02-27 23:03:08 +00:00
|
|
|
void LoadAll(wxCommandEvent& WXUNUSED(event));
|
2011-02-25 23:15:53 +00:00
|
|
|
|
2011-02-25 09:35:56 +00:00
|
|
|
private:
|
|
|
|
DECLARE_EVENT_TABLE();
|
|
|
|
|
2011-02-27 23:03:08 +00:00
|
|
|
wxAuiManager m_mgr;
|
2011-02-25 09:35:56 +00:00
|
|
|
CBreakPointView* m_BreakPointListView;
|
|
|
|
CCodeWindow* m_pCodeWindow;
|
|
|
|
|
|
|
|
void OnClose(wxCloseEvent& event);
|
|
|
|
void OnSelectBP(wxListEvent& event);
|
2008-12-08 04:46:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|