/* $Id$
This file is part of the MSP Märklin suite
-Copyright © 2009 Mikkosoft Productions, Mikko Rasa
+Copyright © 2009-2010 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
#include <msp/net/communicator.h>
#include <msp/net/streamsocket.h>
#include <msp/net/streamlistensocket.h>
-#include "libmarklin/trafficmanager.h"
+#include "libmarklin/layout.h"
#include "packets.h"
#include "protocol.h"
};
Protocol proto;
- TrafficManager &trfc_mgr;
+ Layout &layout;
Msp::Net::StreamListenSocket listen_sock;
Msp::IO::EventDispatcher *event_disp;
std::vector<Connection *> connections;
public:
- Server(TrafficManager &);
+ Server(Layout &);
void use_event_dispatcher(Msp::IO::EventDispatcher &);
private:
void incoming_connection();