~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/src/threadsdlg.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

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 THREADSDLG_H
 
7
#define THREADSDLG_H
 
8
 
 
9
#include <wx/panel.h>
 
10
#include <cbdebugger_interfaces.h>
 
11
 
 
12
class wxCommandEvent;
 
13
class wxListCtrl;
 
14
class wxListEvent;
 
15
 
 
16
class ThreadsDlg : public wxPanel, public cbThreadsDlg
 
17
{
 
18
    public:
 
19
        ThreadsDlg(wxWindow* parent);
 
20
 
 
21
        wxWindow* GetWindow() { return this; }
 
22
 
 
23
        void Reload();
 
24
        void EnableWindow(bool enable);
 
25
    protected:
 
26
        void OnListRightClick(wxListEvent& event);
 
27
        void OnListDoubleClick(wxListEvent& event);
 
28
        void OnSwitchThread(wxCommandEvent& event);
 
29
 
 
30
    private:
 
31
        DECLARE_EVENT_TABLE();
 
32
    private:
 
33
        wxListCtrl *m_list;
 
34
};
 
35
 
 
36
#endif // THREADSDLG_H