~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

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>
 
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
12
 
13
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:
 
14
 
 
15
class cbProject;
 
16
class wxListBox;
 
17
class DebuggerGDB;
 
18
class CodeBlocksEvent;
 
19
 
 
20
class DebuggerOptionsProjectDlg : public cbConfigurationPanel
 
21
{
 
22
    public:
 
23
        DebuggerOptionsProjectDlg(wxWindow* parent, DebuggerGDB* debugger, cbProject* project);
 
24
        virtual ~DebuggerOptionsProjectDlg();
 
25
 
 
26
        virtual wxString GetTitle() const { return _("Debugger"); }
 
27
        virtual wxString GetBitmapBaseName() const { return _T("debugger"); }
 
28
        virtual void OnApply();
 
29
        virtual void OnCancel(){}
 
30
    protected:
30
31
        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
 
32
        void OnAdd(wxCommandEvent& event);
 
33
        void OnEdit(wxCommandEvent& event);
 
34
        void OnDelete(wxCommandEvent& event);
 
35
        void OnUpdateUI(wxUpdateUIEvent& event);
 
36
    private:
 
37
        void OnBuildTargetRemoved(CodeBlocksEvent& event);
 
38
        void OnBuildTargetAdded(CodeBlocksEvent& event);
 
39
        void OnBuildTargetRenamed(CodeBlocksEvent& event);
 
40
        void LoadCurrentRemoteDebuggingRecord();
 
41
        void SaveCurrentRemoteDebuggingRecord();
 
42
 
 
43
        DebuggerGDB* m_pDBG;
 
44
        cbProject* m_pProject;
 
45
        wxArrayString m_OldPaths;
 
46
        RemoteDebuggingMap m_CurrentRemoteDebugging;
 
47
        int m_LastTargetSel;
 
48
        DECLARE_EVENT_TABLE()
 
49
};
 
50
 
 
51
#endif // DEBUGGEROPTIONSPRJDLG_H