diff options
Diffstat (limited to 'src/log_dialog.h')
-rw-r--r-- | src/log_dialog.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/log_dialog.h b/src/log_dialog.h new file mode 100644 index 0000000..c29251f --- /dev/null +++ b/src/log_dialog.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef LOG_DIALOG_H_EEFD45B6 | ||
2 | #define LOG_DIALOG_H_EEFD45B6 | ||
3 | |||
4 | #include <wx/wxprec.h> | ||
5 | |||
6 | #ifndef WX_PRECOMP | ||
7 | #include <wx/wx.h> | ||
8 | #endif | ||
9 | |||
10 | wxDECLARE_EVENT(LOG_MESSAGE, wxCommandEvent); | ||
11 | |||
12 | class LogDialog : public wxDialog { | ||
13 | public: | ||
14 | explicit LogDialog(wxWindow* parent); | ||
15 | |||
16 | void LogMessage(const std::string& message); | ||
17 | |||
18 | private: | ||
19 | void OnLogMessage(wxCommandEvent& event); | ||
20 | |||
21 | wxTextCtrl* text_area_; | ||
22 | }; | ||
23 | |||
24 | #endif /* end of include guard: LOG_DIALOG_H_EEFD45B6 */ | ||