File: compiler_pages.h

package info (click to toggle)
codelite 17.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 136,204 kB
  • sloc: cpp: 491,547; ansic: 280,393; php: 10,259; sh: 8,930; lisp: 7,664; vhdl: 6,518; python: 6,020; lex: 4,920; yacc: 3,123; perl: 2,385; javascript: 1,715; cs: 1,193; xml: 1,110; makefile: 804; cobol: 741; sql: 709; ruby: 620; f90: 566; ada: 534; asm: 464; fortran: 350; objc: 289; tcl: 258; java: 157; erlang: 61; pascal: 51; ml: 49; awk: 44; haskell: 36
file content (361 lines) | stat: -rw-r--r-- 16,193 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
//////////////////////////////////////////////////////////////////////
// This file was auto-generated by codelite's wxCrafter Plugin
// wxCrafter project file: compiler_page.wxcp
// Do not modify this file by hand!
//////////////////////////////////////////////////////////////////////

#ifndef _CODELITE_LITEEDITOR_COMPILER_PAGE_BASE_CLASSES_H
#define _CODELITE_LITEEDITOR_COMPILER_PAGE_BASE_CLASSES_H

// clang-format off
#include <wx/settings.h>
#include <wx/xrc/xmlres.h>
#include <wx/xrc/xh_bmp.h>
#include <wx/dialog.h>
#include <wx/iconbndl.h>
#include <wx/artprov.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/statline.h>
#include <wx/button.h>
#include <wx/choice.h>
#include <wx/arrstr.h>
#include <wx/panel.h>
#include <wx/toolbar.h>
#include "clToolBar.h"
#include <wx/listbox.h>
#include <wx/notebook.h>
#include <wx/imaglist.h>
#include <wx/propgrid/manager.h>
#include <wx/propgrid/property.h>
#include <wx/propgrid/advprops.h>
#include <wx/listctrl.h>
#include <wx/splitter.h>
#include "clThemedSplitterWindow.h"
#include <wx/dataview.h>
#include "clThemedListCtrl.h"
#include <wx/checkbox.h>
#include <wx/stc/stc.h>
#include "clThemedSTC.hpp"
#include "clThemedChoice.h"
#if wxVERSION_NUMBER >= 2900
#include <wx/persist.h>
#include <wx/persist/toplevel.h>
#include <wx/persist/bookctrl.h>
#include <wx/persist/treebook.h>
#endif

#ifdef WXC_FROM_DIP
#undef WXC_FROM_DIP
#endif
#if wxVERSION_NUMBER >= 3100
#define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
#else
#define WXC_FROM_DIP(x) x
#endif

// clang-format on

class CompilerOptionDlgBase : public wxDialog
{
protected:
    wxStaticText* m_staticText26;
    wxTextCtrl* m_textCtrl18;
    wxStaticText* m_staticText27;
    wxTextCtrl* m_textCtrl19;
    wxStaticLine* m_staticline4;
    wxButton* m_buttonOK;
    wxButton* m_buttonCancel;

protected:
public:
    wxStaticText* GetStaticText26() { return m_staticText26; }
    wxTextCtrl* GetTextCtrl18() { return m_textCtrl18; }
    wxStaticText* GetStaticText27() { return m_staticText27; }
    wxTextCtrl* GetTextCtrl19() { return m_textCtrl19; }
    wxStaticLine* GetStaticline4() { return m_staticline4; }
    wxButton* GetButtonOK() { return m_buttonOK; }
    wxButton* GetButtonCancel() { return m_buttonCancel; }
    CompilerOptionDlgBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT(""),
                          const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1),
                          long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
    virtual ~CompilerOptionDlgBase();
};

class CompilerPatternDlgBase : public wxDialog
{
protected:
    wxStaticText* m_staticText5;
    wxTextCtrl* m_textPattern;
    wxStaticText* m_staticText6;
    wxTextCtrl* m_textFileIndex;
    wxStaticText* m_staticText7;
    wxTextCtrl* m_textLineNumber;
    wxStaticText* m_staticText235;
    wxTextCtrl* m_textColumn;
    wxStdDialogButtonSizer* m_stdBtnSizer229;
    wxButton* m_button231;
    wxButton* m_button233;

protected:
    virtual void OnSubmit(wxCommandEvent& event) { event.Skip(); }

public:
    wxStaticText* GetStaticText5() { return m_staticText5; }
    wxTextCtrl* GetTextPattern() { return m_textPattern; }
    wxStaticText* GetStaticText6() { return m_staticText6; }
    wxTextCtrl* GetTextFileIndex() { return m_textFileIndex; }
    wxStaticText* GetStaticText7() { return m_staticText7; }
    wxTextCtrl* GetTextLineNumber() { return m_textLineNumber; }
    wxStaticText* GetStaticText235() { return m_staticText235; }
    wxTextCtrl* GetTextColumn() { return m_textColumn; }
    CompilerPatternDlgBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT(""),
                           const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(500, -1),
                           long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
    virtual ~CompilerPatternDlgBase();
};

class NewCompilerDlgBase : public wxDialog
{
protected:
    wxStaticText* m_staticText84;
    wxTextCtrl* m_textCtrlCompilerName;
    wxStaticText* m_staticText88;
    wxChoice* m_choiceCompilers;
    wxStdDialogButtonSizer* m_stdBtnSizer75;
    wxButton* m_buttonCancel;
    wxButton* m_buttonOK;

protected:
    virtual void OnOkUI(wxUpdateUIEvent& event) { event.Skip(); }

public:
    wxStaticText* GetStaticText84() { return m_staticText84; }
    wxTextCtrl* GetTextCtrlCompilerName() { return m_textCtrlCompilerName; }
    wxStaticText* GetStaticText88() { return m_staticText88; }
    wxChoice* GetChoiceCompilers() { return m_choiceCompilers; }
    NewCompilerDlgBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("New Compiler"),
                       const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1),
                       long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
    virtual ~NewCompilerDlgBase();
};

class CompilerMainPageBase : public wxPanel
{
protected:
    clToolBar* m_toolbar;
    wxListBox* m_listBoxCompilers;
    wxNotebook* m_auiBook;
    wxPanel* m_panelTools;
    wxPropertyGridManager* m_pgMgrTools;
    wxPGProperty* m_pgProp94;
    wxPGProperty* m_pgPropCXX;
    wxPGProperty* m_pgPropCC;
    wxPGProperty* m_pgPropAS;
    wxPGProperty* m_pgPropLD;
    wxPGProperty* m_pgPropSharedObjectLD;
    wxPGProperty* m_pgPropAR;
    wxPGProperty* m_pgPropResourceCompiler;
    wxPGProperty* m_pgPropMAKE;
    wxPGProperty* m_pgPropMkdir;
    wxPGProperty* m_pgPropDebugger;
    wxPanel* m_panelPatterns;
    wxStaticText* m_staticText161;
    wxListCtrl* m_listErrPatterns;
    wxButton* m_btnAddErrPattern;
    wxButton* m_btnDelErrPattern;
    wxButton* m_btnUpdateErrPattern;
    wxStaticText* m_staticText17;
    wxListCtrl* m_listWarnPatterns;
    wxButton* m_btnAddWarnPattern;
    wxButton* m_btnDelWarnPattern;
    wxButton* m_btnUpdateWarnPattern;
    wxPanel* m_panelCompilerOptions;
    wxStaticText* m_staticText23_O;
    wxListCtrl* m_listCompilerOptions;
    wxButton* m_buttonCompilerOption;
    wxButton* m_buttonDeleteCompilerOption;
    wxPanel* m_panelLinkerOptions;
    wxStaticText* m_staticText23_L;
    wxListCtrl* m_listLinkerOptions;
    wxButton* m_buttonLinkerOption;
    wxButton* m_buttonDeleteLinkerOption;
    wxPanel* m_panelTemplates;
    clThemedSplitterWindow* m_splitter261;
    wxPanel* m_splitterPageFileTemplates;
    wxStaticText* m_staticText254;
    clThemedListCtrl* m_dvListCtrlFileTemplates;
    wxButton* m_buttonNewFileType;
    wxButton* m_buttonDeleteFileType;
    wxPanel* m_splitterPageLinkerTemplates;
    wxStaticText* m_staticLinkerLine;
    clThemedListCtrl* m_dvListCtrlLinkType;
    wxCheckBox* m_checkBoxReadObjectsFromFile;
    wxPanel* m_panelCompilerSwitches;
    wxStaticText* m_staticText8;
    wxListCtrl* m_listSwitches;
    wxPanel* m_panelAdvanced;
    wxStaticText* m_staticText18;
    wxStaticText* m_staticText141;
    wxTextCtrl* m_textCtrlGlobalIncludePath;
    wxButton* m_button67;
    wxStaticText* m_staticText16;
    wxTextCtrl* m_textCtrlGlobalLibPath;
    wxButton* m_button69;
    wxStaticText* m_staticText19;
    wxStaticText* m_staticText3;
    wxTextCtrl* m_textObjectExtension;
    wxStaticText* m_staticText24;
    wxTextCtrl* m_textDependExtension;
    wxStaticText* m_staticText25;
    wxTextCtrl* m_textPreprocessExtension;
    wxCheckBox* m_checkBoxGenerateDependenciesFiles;
    wxCheckBox* m_checkBoxObjectNameSameAsFileName;

protected:
    virtual void OnCompilerSelected(wxCommandEvent& event) { event.Skip(); }
    virtual void OnContextMenu(wxContextMenuEvent& event) { event.Skip(); }
    virtual void OnCustomEditorButtonClicked(wxCommandEvent& event) { event.Skip(); }
    virtual void OnValueChanged(wxPropertyGridEvent& event) { event.Skip(); }
    virtual void OnErrItemActivated(wxListEvent& event) { event.Skip(); }
    virtual void OnBtnAddErrPattern(wxCommandEvent& event) { event.Skip(); }
    virtual void OnBtnDelErrPattern(wxCommandEvent& event) { event.Skip(); }
    virtual void OnErrorPatternSelectedUI(wxUpdateUIEvent& event) { event.Skip(); }
    virtual void OnBtnUpdateErrPattern(wxCommandEvent& event) { event.Skip(); }
    virtual void OnWarnItemActivated(wxListEvent& event) { event.Skip(); }
    virtual void OnBtnAddWarnPattern(wxCommandEvent& event) { event.Skip(); }
    virtual void OnBtnDelWarnPattern(wxCommandEvent& event) { event.Skip(); }
    virtual void OnWarningPatternSelectedUI(wxUpdateUIEvent& event) { event.Skip(); }
    virtual void OnBtnUpdateWarnPattern(wxCommandEvent& event) { event.Skip(); }
    virtual void OnCompilerOptionActivated(wxListEvent& event) { event.Skip(); }
    virtual void OnCompilerOptionDeSelected(wxListEvent& event) { event.Skip(); }
    virtual void OnCompilerOptionSelected(wxListEvent& event) { event.Skip(); }
    virtual void OnNewCompilerOption(wxCommandEvent& event) { event.Skip(); }
    virtual void OnDeleteCompilerOption(wxCommandEvent& event) { event.Skip(); }
    virtual void OnLinkerOptionActivated(wxListEvent& event) { event.Skip(); }
    virtual void OnLinkerOptionDeSelected(wxListEvent& event) { event.Skip(); }
    virtual void OnLinkerOptionSelected(wxListEvent& event) { event.Skip(); }
    virtual void OnNewLinkerOption(wxCommandEvent& event) { event.Skip(); }
    virtual void OnDeleteLinkerOption(wxCommandEvent& event) { event.Skip(); }
    virtual void OnFileTypeActivated(wxDataViewEvent& event) { event.Skip(); }
    virtual void OnNewFileType(wxCommandEvent& event) { event.Skip(); }
    virtual void OnDeleteFileType(wxCommandEvent& event) { event.Skip(); }
    virtual void OnLinkLineActivated(wxDataViewEvent& event) { event.Skip(); }
    virtual void OnLinkerUseFileInput(wxCommandEvent& event) { event.Skip(); }
    virtual void OnItemActivated(wxListEvent& event) { event.Skip(); }
    virtual void OnItemSelected(wxListEvent& event) { event.Skip(); }
    virtual void OnCmdModify(wxCommandEvent& event) { event.Skip(); }
    virtual void OnEditIncludePaths(wxCommandEvent& event) { event.Skip(); }
    virtual void OnEditLibraryPaths(wxCommandEvent& event) { event.Skip(); }

public:
    clToolBar* GetToolbar() { return m_toolbar; }
    wxListBox* GetListBoxCompilers() { return m_listBoxCompilers; }
    wxPropertyGridManager* GetPgMgrTools() { return m_pgMgrTools; }
    wxPanel* GetPanelTools() { return m_panelTools; }
    wxStaticText* GetStaticText161() { return m_staticText161; }
    wxListCtrl* GetListErrPatterns() { return m_listErrPatterns; }
    wxButton* GetBtnAddErrPattern() { return m_btnAddErrPattern; }
    wxButton* GetBtnDelErrPattern() { return m_btnDelErrPattern; }
    wxButton* GetBtnUpdateErrPattern() { return m_btnUpdateErrPattern; }
    wxStaticText* GetStaticText17() { return m_staticText17; }
    wxListCtrl* GetListWarnPatterns() { return m_listWarnPatterns; }
    wxButton* GetBtnAddWarnPattern() { return m_btnAddWarnPattern; }
    wxButton* GetBtnDelWarnPattern() { return m_btnDelWarnPattern; }
    wxButton* GetBtnUpdateWarnPattern() { return m_btnUpdateWarnPattern; }
    wxPanel* GetPanelPatterns() { return m_panelPatterns; }
    wxStaticText* GetStaticText23_O() { return m_staticText23_O; }
    wxListCtrl* GetListCompilerOptions() { return m_listCompilerOptions; }
    wxButton* GetButtonCompilerOption() { return m_buttonCompilerOption; }
    wxButton* GetButtonDeleteCompilerOption() { return m_buttonDeleteCompilerOption; }
    wxPanel* GetPanelCompilerOptions() { return m_panelCompilerOptions; }
    wxStaticText* GetStaticText23_L() { return m_staticText23_L; }
    wxListCtrl* GetListLinkerOptions() { return m_listLinkerOptions; }
    wxButton* GetButtonLinkerOption() { return m_buttonLinkerOption; }
    wxButton* GetButtonDeleteLinkerOption() { return m_buttonDeleteLinkerOption; }
    wxPanel* GetPanelLinkerOptions() { return m_panelLinkerOptions; }
    wxStaticText* GetStaticText254() { return m_staticText254; }
    clThemedListCtrl* GetDvListCtrlFileTemplates() { return m_dvListCtrlFileTemplates; }
    wxButton* GetButtonNewFileType() { return m_buttonNewFileType; }
    wxButton* GetButtonDeleteFileType() { return m_buttonDeleteFileType; }
    wxPanel* GetSplitterPageFileTemplates() { return m_splitterPageFileTemplates; }
    wxStaticText* GetStaticLinkerLine() { return m_staticLinkerLine; }
    clThemedListCtrl* GetDvListCtrlLinkType() { return m_dvListCtrlLinkType; }
    wxCheckBox* GetCheckBoxReadObjectsFromFile() { return m_checkBoxReadObjectsFromFile; }
    wxPanel* GetSplitterPageLinkerTemplates() { return m_splitterPageLinkerTemplates; }
    clThemedSplitterWindow* GetSplitter261() { return m_splitter261; }
    wxPanel* GetPanelTemplates() { return m_panelTemplates; }
    wxStaticText* GetStaticText8() { return m_staticText8; }
    wxListCtrl* GetListSwitches() { return m_listSwitches; }
    wxPanel* GetPanelCompilerSwitches() { return m_panelCompilerSwitches; }
    wxStaticText* GetStaticText18() { return m_staticText18; }
    wxStaticText* GetStaticText141() { return m_staticText141; }
    wxTextCtrl* GetTextCtrlGlobalIncludePath() { return m_textCtrlGlobalIncludePath; }
    wxButton* GetButton67() { return m_button67; }
    wxStaticText* GetStaticText16() { return m_staticText16; }
    wxTextCtrl* GetTextCtrlGlobalLibPath() { return m_textCtrlGlobalLibPath; }
    wxButton* GetButton69() { return m_button69; }
    wxStaticText* GetStaticText19() { return m_staticText19; }
    wxStaticText* GetStaticText3() { return m_staticText3; }
    wxTextCtrl* GetTextObjectExtension() { return m_textObjectExtension; }
    wxStaticText* GetStaticText24() { return m_staticText24; }
    wxTextCtrl* GetTextDependExtension() { return m_textDependExtension; }
    wxStaticText* GetStaticText25() { return m_staticText25; }
    wxTextCtrl* GetTextPreprocessExtension() { return m_textPreprocessExtension; }
    wxCheckBox* GetCheckBoxGenerateDependenciesFiles() { return m_checkBoxGenerateDependenciesFiles; }
    wxCheckBox* GetCheckBoxObjectNameSameAsFileName() { return m_checkBoxObjectNameSameAsFileName; }
    wxPanel* GetPanelAdvanced() { return m_panelAdvanced; }
    wxNotebook* GetAuiBook() { return m_auiBook; }
    CompilerMainPageBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
                         const wxSize& size = wxSize(-1, -1), long style = wxTAB_TRAVERSAL);
    virtual ~CompilerMainPageBase();
};

class EditCmpTemplateDialogBase : public wxDialog
{
protected:
    clThemedSTC* m_stc;
    wxStdDialogButtonSizer* m_stdBtnSizer279;
    wxButton* m_button281;
    wxButton* m_button283;

protected:
public:
    clThemedSTC* GetStc() { return m_stc; }
    EditCmpTemplateDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY,
                              const wxString& title = _("Edit Compiler Template"),
                              const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1),
                              long style = wxDEFAULT_DIALOG_STYLE);
    virtual ~EditCmpTemplateDialogBase();
};

class NewFileTemplateDialogBase : public wxDialog
{
protected:
    wxStaticText* m_staticText301;
    wxTextCtrl* m_textCtrlExtension;
    wxStaticText* m_staticText305;
    clThemedChoice* m_choiceFileType;
    wxStaticText* m_staticText309;
    clThemedSTC* m_stc;
    wxStdDialogButtonSizer* m_stdBtnSizer293;
    wxButton* m_button295;
    wxButton* m_button297;

protected:
public:
    wxStaticText* GetStaticText301() { return m_staticText301; }
    wxTextCtrl* GetTextCtrlExtension() { return m_textCtrlExtension; }
    wxStaticText* GetStaticText305() { return m_staticText305; }
    clThemedChoice* GetChoiceFileType() { return m_choiceFileType; }
    wxStaticText* GetStaticText309() { return m_staticText309; }
    clThemedSTC* GetStc() { return m_stc; }
    NewFileTemplateDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY,
                              const wxString& title = _("New File Type Template"),
                              const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1),
                              long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
    virtual ~NewFileTemplateDialogBase();
};

#endif