Merge master.
[dcpomatic.git] / src / wx / server_dialog.h
index 05630c377bf416ded597e32bc14f208206269c93..b434b0e1a1e058a34f9e1e694c66c7173f7dd42a 100644 (file)
 
 */
 
-#include <wx/wx.h>
-#include <wx/spinctrl.h>
+#include "table_dialog.h"
 
-class Server;
-
-class ServerDialog : public wxDialog
+class ServerDialog : public TableDialog
 {
 public:
-       ServerDialog (wxWindow *, Server *);
+       ServerDialog (wxWindow *);
 
-       Server* server () const;
+       void set (std::string);
+       std::string get () const;
 
 private:
-       void host_changed (wxCommandEvent &);
-       void threads_changed (wxCommandEvent &);
-
-       Server* _server;
        wxTextCtrl* _host;
-       wxSpinCtrl* _threads;
 };