about summary refs log tree commit diff stats
path: root/connection_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'connection_dialog.h')
-rw-r--r--connection_dialog.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/connection_dialog.h b/connection_dialog.h deleted file mode 100644 index 5d2703d..0000000 --- a/connection_dialog.h +++ /dev/null
@@ -1,30 +0,0 @@
1#ifndef CONNECTION_DIALOG_H_E526D0E7
2#define CONNECTION_DIALOG_H_E526D0E7
3
4#include <wx/wxprec.h>
5
6#ifndef WX_PRECOMP
7#include <wx/wx.h>
8#endif
9
10#include <string>
11
12class ConnectionDialog : public wxDialog {
13 public:
14 ConnectionDialog();
15
16 std::string GetServerValue() { return server_box_->GetValue().ToStdString(); }
17
18 std::string GetPlayerValue() { return player_box_->GetValue().ToStdString(); }
19
20 std::string GetPasswordValue() {
21 return password_box_->GetValue().ToStdString();
22 }
23
24 private:
25 wxTextCtrl* server_box_;
26 wxTextCtrl* player_box_;
27 wxTextCtrl* password_box_;
28};
29
30#endif /* end of include guard: CONNECTION_DIALOG_H_E526D0E7 */