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

« back to all changes in this revision

Viewing changes to src/plugins/debuggergdb/debuggeroptionsprjdlg.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 DEBUGGEROPTIONSPRJDLG_H
 
7
#define DEBUGGEROPTIONSPRJDLG_H
 
8
 
 
9
#include <wx/intl.h>
 
10
#include "configurationpanel.h"
 
11
#include <settings.h>
 
12
 
 
13
#include "remotedebugging.h"
 
14
 
 
15
class cbProject;
 
16
class wxListBox;
 
17
class DebuggerGDB;
 
18
 
 
19
class DebuggerOptionsProjectDlg : public cbConfigurationPanel
 
20
{
 
21
        public:
 
22
                DebuggerOptionsProjectDlg(wxWindow* parent, DebuggerGDB* debugger, cbProject* project);
 
23
                virtual ~DebuggerOptionsProjectDlg();
 
24
 
 
25
        virtual wxString GetTitle() const { return _("Debugger"); }
 
26
        virtual wxString GetBitmapBaseName() const { return _T("debugger"); }
 
27
        virtual void OnApply();
 
28
        virtual void OnCancel(){}
 
29
        protected:
 
30
        void OnTargetSel(wxCommandEvent& event);
 
31
        void OnAdd(wxCommandEvent& event);
 
32
        void OnEdit(wxCommandEvent& event);
 
33
        void OnDelete(wxCommandEvent& event);
 
34
        void OnUpdateUI(wxUpdateUIEvent& event);
 
35
        private:
 
36
                void LoadCurrentRemoteDebuggingRecord();
 
37
                void SaveCurrentRemoteDebuggingRecord();
 
38
 
 
39
                DebuggerGDB* m_pDBG;
 
40
        cbProject* m_pProject;
 
41
                wxArrayString m_OldPaths;
 
42
                RemoteDebuggingMap m_CurrentRemoteDebugging;
 
43
                int m_LastTargetSel;
 
44
                DECLARE_EVENT_TABLE()
 
45
};
 
46
 
 
47
#endif // DEBUGGEROPTIONSPRJDLG_H