/*
- 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
{
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;
};