about summary refs log tree commit diff stats
path: root/src/ipc_dialog.h
blob: 1caed018040b0194d2e941f5f1e6c6017d9c6ef4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef IPC_DIALOG_H_F4C5680C
#define IPC_DIALOG_H_F4C5680C

#include <wx/wxprec.h>

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

#include <string>

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 */