X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fserver_dialog.h;h=b434b0e1a1e058a34f9e1e694c66c7173f7dd42a;hb=854f2e5bbb7ffb9758b823af87034033033f3cb8;hp=0912fd60f19291a866b57cc5456320d9f7e24e00;hpb=c0ed407fb02891f0dd364e78b6192f0e6dbe1d8d;p=dcpomatic.git diff --git a/src/wx/server_dialog.h b/src/wx/server_dialog.h index 0912fd60f..b434b0e1a 100644 --- a/src/wx/server_dialog.h +++ b/src/wx/server_dialog.h @@ -17,23 +17,16 @@ */ -#include -#include +#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; };