about summary refs log tree commit diff stats
path: root/connection_dialog.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 15:21:29 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 15:21:29 -0400
commit116ba412079ddf647d19a54d09eb61e67a2f9aac (patch)
tree07934e4fdd0723f1cd803cd37832c0f2302e3c53 /connection_dialog.h
parent22014b967d0d9651b72bffbe02aba75dc98180a4 (diff)
downloadlingo-ap-tracker-116ba412079ddf647d19a54d09eb61e67a2f9aac.tar.gz
lingo-ap-tracker-116ba412079ddf647d19a54d09eb61e67a2f9aac.tar.bz2
lingo-ap-tracker-116ba412079ddf647d19a54d09eb61e67a2f9aac.zip
Tracker connects to AP now
Diffstat (limited to 'connection_dialog.h')
-rw-r--r--connection_dialog.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/connection_dialog.h b/connection_dialog.h new file mode 100644 index 0000000..5d2703d --- /dev/null +++ b/connection_dialog.h
@@ -0,0 +1,30 @@
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 */