-/* $Id$
-
-This file is part of R²C²
-Copyright © 2009-2011 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
#include <msp/net/inet.h>
#include "libr2c2/driver.h"
#include "libr2c2/route.h"
Train &train = server.layout.get_train(pkt.address);
train.set_control(pkt.control, pkt.value);
}
- catch(const Exception &e)
+ catch(const exception &e)
{
error(e.what());
}
if(((pkt.functions^train.get_functions())>>i)&1)
train.set_function(i, (pkt.functions>>i)&1);
}
- catch(const Exception &e)
+ catch(const exception &e)
{
error(e.what());
}
train.set_route(&route);
}
}
- catch(const Exception &e)
+ catch(const exception &e)
{
error(e.what());
}