about summary refs log tree commit diff stats
path: root/src/ipc_dialog.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-12-18 13:36:52 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-12-18 13:36:52 -0500
commit2844eecb65501f7dafa4de15d7377bfb810e1158 (patch)
tree7b2530cba82e54655a74bdcd6e31d9724583e83b /src/ipc_dialog.h
parent4fb25ff5efe48ca8f594ce5b5d2839cb244018a9 (diff)
downloadlingo-ap-tracker-2844eecb65501f7dafa4de15d7377bfb810e1158.tar.gz
lingo-ap-tracker-2844eecb65501f7dafa4de15d7377bfb810e1158.tar.bz2
lingo-ap-tracker-2844eecb65501f7dafa4de15d7377bfb810e1158.zip
Make IPC opt-in and configurable
Diffstat (limited to 'src/ipc_dialog.h')
-rw-r--r--src/ipc_dialog.h24
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
12class 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 */