]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/train.h
Strip Id tags and copyright notices from files
[r2c2.git] / source / libr2c2 / train.h
index 90b2a72dc5ce94e3795d2a3d232d932fed22d484..e5bc5d260c24dfab073a7e150ebc249c53127d69 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2006-2011  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef LIBR2C2_TRAIN_H_
 #define LIBR2C2_TRAIN_H_
 
@@ -158,7 +151,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 *);