Various bits mostly related to colour conversions.
[dcpomatic.git] / src / wx / server_dialog.h
index 3f1fa1f73021fb32bbc3c20d7e312163116326e1..a6f48fe7b71a5e82d296bff1ad3ed55ae329680b 100644 (file)
@@ -25,15 +25,12 @@ class ServerDescription;
 class ServerDialog : public wxDialog
 {
 public:
-       ServerDialog (wxWindow *, boost::shared_ptr<ServerDescription>);
+       ServerDialog (wxWindow *);
 
-       boost::shared_ptr<ServerDescription> server () const;
+       void set (ServerDescription);
+       ServerDescription get () const;
 
 private:
-       void host_changed ();
-       void threads_changed ();
-
-       boost::shared_ptr<ServerDescription> _server;
        wxTextCtrl* _host;
        wxSpinCtrl* _threads;
 };