~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/contrib/Valgrind/valgrind_config.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
#ifndef VALGRIND_CONFIG_H
 
2
#define VALGRIND_CONFIG_H
 
3
 
 
4
//(*Headers(ValgrindConfigurationPanel)
 
5
#include <wx/panel.h>
 
6
class wxTextCtrl;
 
7
class wxStaticBoxSizer;
 
8
class wxButton;
 
9
class wxBoxSizer;
 
10
class wxStaticText;
 
11
class wxCheckBox;
 
12
//*)
 
13
 
 
14
#include <configurationpanel.h>
 
15
 
 
16
class ValgrindConfigurationPanel: public cbConfigurationPanel
 
17
{
 
18
        public:
 
19
 
 
20
                ValgrindConfigurationPanel(wxWindow *parent);
 
21
                virtual ~ValgrindConfigurationPanel();
 
22
 
 
23
        virtual wxString GetTitle() const { return _("Valgrind settings"); }
 
24
        virtual wxString GetBitmapBaseName() const { return _T("valgrind"); }
 
25
        virtual void OnApply();
 
26
        virtual void OnCancel() {}
 
27
 
 
28
        private:
 
29
            void LoadSettings();
 
30
        private:
 
31
 
 
32
                //(*Declarations(ValgrindConfigurationPanel)
 
33
                wxTextCtrl* m_CachegrindArgs;
 
34
                wxTextCtrl* m_MemCheckArgs;
 
35
                wxCheckBox* m_ShowReachable;
 
36
                wxCheckBox* m_FullMemCheck;
 
37
                wxTextCtrl* m_ExecutablePath;
 
38
                wxCheckBox* m_TrackOrigins;
 
39
                //*)
 
40
 
 
41
                //(*Identifiers(ValgrindConfigurationPanel)
 
42
                static const long IdExecutablePath;
 
43
                static const long IdBrowseButton;
 
44
                static const long IdMemCheckArgs;
 
45
                static const long IdFullMemCheck;
 
46
                static const long IdTrackOrigins;
 
47
                static const long IdShowReachable;
 
48
                static const long IdCachegrindArgs;
 
49
                //*)
 
50
 
 
51
                //(*Handlers(ValgrindConfigurationPanel)
 
52
                void OnBrowseButtonClick(wxCommandEvent& event);
 
53
                //*)
 
54
 
 
55
        private:
 
56
 
 
57
                void BuildContent(wxWindow *parent);
 
58
 
 
59
                DECLARE_EVENT_TABLE()
 
60
};
 
61
 
 
62
#endif