Rename Server -> EncodeServer, ServerFinder -> EncodeServerFinder, ServerDescription...
[dcpomatic.git] / src / wx / servers_list_dialog.h
index 0662a141d5b808d93f0c6fb9a8bf9fb2ef262f75..08d9c739c29b8961b61579b72a3f6270f4bdb3fe 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 */
 
+#include "lib/encode_server.h"
 #include <wx/wx.h>
 #include <wx/listctrl.h>
-#include "lib/server_finder.h"
+#include <boost/signals2.hpp>
 
 class ServersListDialog : public wxDialog
 {
@@ -27,9 +28,9 @@ public:
        ServersListDialog (wxWindow *);
 
 private:
-       void server_found (ServerDescription);
+       void servers_list_changed ();
 
-       ServerFinder _server_finder;
-       std::list<ServerDescription> _servers;
        wxListCtrl* _list;
+
+       boost::signals2::scoped_connection _server_finder_connection;
 };