diff options
Diffstat (limited to 'src/ipc_dialog.h')
-rw-r--r-- | src/ipc_dialog.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/ipc_dialog.h b/src/ipc_dialog.h new file mode 100644 index 0000000..1caed01 --- /dev/null +++ b/src/ipc_dialog.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef IPC_DIALOG_H_F4C5680C | ||
2 | #define IPC_DIALOG_H_F4C5680C | ||
3 | |||
4 | #include <wx/wxprec.h> | ||
5 | |||
6 | #ifndef WX_PRECOMP | ||
7 | #include <wx/wx.h> | ||
8 | #endif | ||
9 | |||
10 | #include <string> | ||
11 | |||
12 | class IpcDialog : public wxDialog { | ||
13 | public: | ||
14 | IpcDialog(); | ||
15 | |||
16 | std::string GetIpcAddress() { return address_box_->GetValue().ToStdString(); } | ||
17 | |||
18 | private: | ||
19 | void OnResetClicked(wxCommandEvent& event); | ||
20 | |||
21 | wxTextCtrl* address_box_; | ||
22 | }; | ||
23 | |||
24 | #endif /* end of include guard: IPC_DIALOG_H_F4C5680C */ | ||