~efargaspro/+junk/codeblocks-16.01-release

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
#ifndef ADDR2LINEUIMAIN_H
#define ADDR2LINEUIMAIN_H

//(*Headers(Addr2LineUIDialog)
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>
#include <wx/filepicker.h>
#include <wx/statline.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)

#include <wx/arrstr.h>
#include <wx/fileconf.h>
#include <wx/string.h>

class Addr2LineUIDialog: public wxDialog
{
public:

  Addr2LineUIDialog(wxWindow* parent);
  virtual ~Addr2LineUIDialog();

private:

  //(*Handlers(Addr2LineUIDialog)
  void OnQuit(wxCommandEvent& event);
  void OnCrashLogFile(wxFileDirPickerEvent& event);
  void OnAddr2LineFile(wxFileDirPickerEvent& event);
  void OnDirPrependDir(wxFileDirPickerEvent& event);
  void OnOperateClick(wxCommandEvent& event);
  void OnReplaceClick(wxCommandEvent& event);
  //*)

  //(*Identifiers(Addr2LineUIDialog)
  static const long ID_CRASH_LOG;
  static const long ID_ADDR2LINE;
  static const long ID_DIR_PREPEND;
  static const long ID_CHK_REPLACE;
  static const long ID_TXT_REPLACE_THIS;
  static const long ID_LBL_REPLACE;
  static const long ID_TXT_REPLACE_THAT;
  static const long ID_CHK_SKIP_UNRESOLVABLE;
  static const long ID_TXT_CRASH_LOG_CONTENT;
  static const long ID_TXT_RESULT;
  static const long ID_BTN_OPERATE;
  static const long ID_BTN_QUIT;
  //*)

  //(*Declarations(Addr2LineUIDialog)
  wxDirPickerCtrl* m_DPDirPrepend;
  wxFilePickerCtrl* m_FPCrashLog;
  wxFilePickerCtrl* m_FPAddr2Line;
  wxTextCtrl* txtResult;
  wxTextCtrl* txtCrashLogContent;
  wxCheckBox* chkReplace;
  wxTextCtrl* txtReplaceThis;
  wxButton* btnOperate;
  wxCheckBox* chkSkipUnresolvable;
  wxStaticText* lblReplace;
  wxTextCtrl* txtReplaceThat;
  //*)

  wxFileConfig  mFileConfig;
  wxString      mCrashLog;
  wxArrayString mCrashLogFileContent;
  wxString      mAddr2Line;
  wxString      mDirPrepend;

  DECLARE_EVENT_TABLE()
};

#endif // ADDR2LINEUIMAIN_H