From 2844eecb65501f7dafa4de15d7377bfb810e1158 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 18 Dec 2024 13:36:52 -0500 Subject: Make IPC opt-in and configurable --- src/ipc_dialog.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/ipc_dialog.h (limited to 'src/ipc_dialog.h') 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 @@ +#ifndef IPC_DIALOG_H_F4C5680C +#define IPC_DIALOG_H_F4C5680C + +#include + +#ifndef WX_PRECOMP +#include +#endif + +#include + +class IpcDialog : public wxDialog { + public: + IpcDialog(); + + std::string GetIpcAddress() { return address_box_->GetValue().ToStdString(); } + + private: + void OnResetClicked(wxCommandEvent& event); + + wxTextCtrl* address_box_; +}; + +#endif /* end of include guard: IPC_DIALOG_H_F4C5680C */ -- cgit 1.4.1