X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fserver_dialog.h;h=b434b0e1a1e058a34f9e1e694c66c7173f7dd42a;hb=d7bffb968f0abd5c1e6d5e72e6ea70a701fe5d48;hp=05630c377bf416ded597e32bc14f208206269c93;hpb=4f584c5fea581bf09afc639e964f491f25c31186;p=dcpomatic.git diff --git a/src/wx/server_dialog.h b/src/wx/server_dialog.h index 05630c377..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 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; };