Merge 1.0 in.
[dcpomatic.git] / src / wx / server_dialog.h
index f42236771efbb6e3a7f7c5d34c0865b2f6f4ac12..a6f48fe7b71a5e82d296bff1ad3ed55ae329680b 100644 (file)
@@ -25,15 +25,12 @@ class ServerDescription;
 class ServerDialog : public wxDialog
 {
 public:
-       ServerDialog (wxWindow *, ServerDescription *);
+       ServerDialog (wxWindow *);
 
-       ServerDescription* server () const;
+       void set (ServerDescription);
+       ServerDescription get () const;
 
 private:
-       void host_changed ();
-       void threads_changed ();
-
-       ServerDescription* _server;
        wxTextCtrl* _host;
        wxSpinCtrl* _threads;
 };