summaryrefslogtreecommitdiff
path: root/src/wx/server_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-09-17 22:50:47 +0100
committerCarl Hetherington <cth@carlh.net>2012-09-17 22:50:47 +0100
commit1e8f1be709e8a3fa58f1147db2e58a39396313d8 (patch)
tree1f86e375afbc1ec2a7e81ad48594bef7542bf71d /src/wx/server_dialog.cc
parentd7135bda7b1db2ee2728c90ff4570c350834338f (diff)
Move server code into library; Server -> ServerDescription.
Diffstat (limited to 'src/wx/server_dialog.cc')
-rw-r--r--src/wx/server_dialog.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/server_dialog.cc b/src/wx/server_dialog.cc
index 0ae34b1fc..ad0f7a567 100644
--- a/src/wx/server_dialog.cc
+++ b/src/wx/server_dialog.cc
@@ -21,13 +21,13 @@
#include "server_dialog.h"
#include "wx_util.h"
-ServerDialog::ServerDialog (wxWindow* parent, Server* server)
+ServerDialog::ServerDialog (wxWindow* parent, ServerDescription* server)
: wxDialog (parent, wxID_ANY, wxString (_("Server")))
{
if (server) {
_server = server;
} else {
- _server = new Server ("localhost", 1);
+ _server = new ServerDescription ("localhost", 1);
}
wxFlexGridSizer* table = new wxFlexGridSizer (2, 4, 4);
@@ -73,7 +73,7 @@ ServerDialog::threads_changed (wxCommandEvent &)
_server->set_threads (_threads->GetValue ());
}
-Server *
+ServerDescription *
ServerDialog::server () const
{
return _server;