~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/debuggergdb/cpuregistersdlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 CPUREGISTERSDLG_H
 
7
#define CPUREGISTERSDLG_H
 
8
 
 
9
#include <wx/panel.h>
 
10
 
 
11
class DebuggerGDB;
 
12
class wxListCtrl;
 
13
 
 
14
class CPURegistersDlg : public wxPanel
 
15
{
 
16
    public:
 
17
        CPURegistersDlg(wxWindow* parent, DebuggerGDB* debugger);
 
18
        virtual ~CPURegistersDlg();
 
19
 
 
20
        void Clear();
 
21
        void SetRegisterValue(const wxString& reg_name, unsigned long int value);
 
22
    protected:
 
23
        int RegisterIndex(const wxString& reg_name);
 
24
        void OnRefresh(wxCommandEvent& event);
 
25
 
 
26
        DebuggerGDB* m_pDbg;
 
27
        wxListCtrl* m_pList;
 
28
    private:
 
29
        DECLARE_EVENT_TABLE();
 
30
};
 
31
 
 
32
#endif // CPUREGISTERSDLG_H