Distributed under the GPL
*/
+#include <iostream>
#include "control.h"
#include "block.h"
#include "tracktype.h"
#include "trafficmanager.h"
#include "turnout.h"
-using namespace Msp;
-
-#include <iostream>
using namespace std;
+using namespace Msp;
namespace Marklin {
if(!t || !train)
{
train=t;
- if(train)
- cout<<"Block "<<this<<" reserved for train "<<train->get_name()<<'\n';
- else
- cout<<"Block "<<this<<" freed\n";
trfc_mgr.signal_block_reserved.emit(*this, train);
return true;
}