Rename Server -> EncodeServer, ServerFinder -> EncodeServerFinder, ServerDescription...
[dcpomatic.git] / src / wx / servers_list_dialog.h
index 27a3c55cb0d302ccf6b12b169bb74c657f1998ae..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.h"
+#include <boost/signals2.hpp>
 
 class ServersListDialog : public wxDialog
 {
@@ -27,8 +28,9 @@ public:
        ServersListDialog (wxWindow *);
 
 private:
-       void server_found (ServerDescription);
+       void servers_list_changed ();
 
-       std::list<ServerDescription> _servers;
        wxListCtrl* _list;
+
+       boost::signals2::scoped_connection _server_finder_connection;
 };