about summary refs log tree commit diff stats
path: root/src/ipc_dialog.h
blob: a8c45121b37a8ac7d6297301cf3f2e542c91c56f (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().utf8_string(); }

 private:
  void OnResetClicked(wxCommandEvent& event);

  wxTextCtrl* address_box_;
};

#endif /* end of include guard: IPC_DIALOG_H_F4C5680C */