X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrain.h;h=c60b8c044ce743549b5b78eb638183e1fcda189a;hb=b14059de03324aecde3efc649293d98ce5b7aaf2;hp=90b2a72dc5ce94e3795d2a3d232d932fed22d484;hpb=45abb4c64c714cb655988a855158a22976f5e35f;p=r2c2.git diff --git a/source/libr2c2/train.h b/source/libr2c2/train.h index 90b2a72..c60b8c0 100644 --- a/source/libr2c2/train.h +++ b/source/libr2c2/train.h @@ -158,7 +158,7 @@ private: void control_changed(const Controller::Control &); void loco_speed_event(unsigned, unsigned, bool); void loco_func_event(unsigned, unsigned, bool); - void sensor_event(unsigned, bool); + void block_state_changed(Block &, Block::State); void turnout_path_changed(Track &); void halt_event(bool); void block_reserved(const Block &, const Train *);