Very basics of colour conversion configuration.
[dcpomatic.git] / src / wx / server_dialog.h
index 05630c377bf416ded597e32bc14f208206269c93..3f1fa1f73021fb32bbc3c20d7e312163116326e1 100644 (file)
 #include <wx/wx.h>
 #include <wx/spinctrl.h>
 
-class Server;
+class ServerDescription;
 
 class ServerDialog : public wxDialog
 {
 public:
-       ServerDialog (wxWindow *, Server *);
+       ServerDialog (wxWindow *, boost::shared_ptr<ServerDescription>);
 
-       Server* server () const;
+       boost::shared_ptr<ServerDescription> server () const;
 
 private:
-       void host_changed (wxCommandEvent &);
-       void threads_changed (wxCommandEvent &);
+       void host_changed ();
+       void threads_changed ();
 
-       Server* _server;
+       boost::shared_ptr<ServerDescription> _server;
        wxTextCtrl* _host;
        wxSpinCtrl* _threads;
 };