X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fserver_dialog.h;h=ed109c6974c7dc8b8b84eafbf0d7a3d29cb71414;hb=00b60f52add041a36fa62118baf4b5ac78993980;hp=f42236771efbb6e3a7f7c5d34c0865b2f6f4ac12;hpb=16a7ea91e973b327735658857cbf996cc740be77;p=dcpomatic.git diff --git a/src/wx/server_dialog.h b/src/wx/server_dialog.h index f42236771..ed109c697 100644 --- a/src/wx/server_dialog.h +++ b/src/wx/server_dialog.h @@ -1,39 +1,33 @@ /* Copyright (C) 2012 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ -#include -#include - -class ServerDescription; +#include "table_dialog.h" -class ServerDialog : public wxDialog +class ServerDialog : public TableDialog { public: - ServerDialog (wxWindow *, ServerDescription *); + ServerDialog (wxWindow *); - ServerDescription* server () const; + void set (std::string); + boost::optional get () const; private: - void host_changed (); - void threads_changed (); - - ServerDescription* _server; wxTextCtrl* _host; - wxSpinCtrl* _threads; };