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