Code::Blocks  SVN r11506
examinememorydlg.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3  * http://www.gnu.org/licenses/gpl-3.0.html
4  */
5 
6 #ifndef EXAMINEMEMORYDLG_H
7 #define EXAMINEMEMORYDLG_H
8 
9 #include <wx/panel.h>
10 #include <cbdebugger_interfaces.h>
11 
12 class wxTextCtrl;
13 
15 {
16  public:
17  ExamineMemoryDlg(wxWindow* parent);
18 
19  wxWindow* GetWindow() { return this; }
20 
21  // used for Freeze()/Thaw() calls
22  void Begin();
23  void End();
24 
25  void Clear();
27  void SetBaseAddress(const wxString &addr);
28  int GetBytes();
29  void AddError(const wxString& err);
30  void AddHexByte(const wxString& addr, const wxString& hexbyte);
31  void EnableWindow(bool enable);
32  protected:
33  void OnGo(wxCommandEvent& event);
34 
35  private:
37  size_t m_ByteCounter;
38  wxChar m_LineText[67]; // 16*3 "7F " + 3 " " + 16 "."
39  unsigned long m_LastRowStartingAddress;
40  private:
41  DECLARE_EVENT_TABLE()
42 };
43 
44 #endif // EXAMINEMEMORYDLG_H
void OnGo(wxCommandEvent &event)
void AddHexByte(const wxString &addr, const wxString &hexbyte)
wxTextCtrl * m_pText
wxString GetBaseAddress()
void EnableWindow(bool enable)
ExamineMemoryDlg(wxWindow *parent)
wxUSE_UNICODE_dependent wxChar
wxChar m_LineText[67]
wxWindow * GetWindow()
void SetBaseAddress(const wxString &addr)
void AddError(const wxString &err)
unsigned long m_LastRowStartingAddress