]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/trainpanel.h
TrainAI framework
[r2c2.git] / source / engineer / trainpanel.h
index d74ccbf88695e40c960a93c72975f9de31d33b97..87803ec348bf94cc4f3d7ea6a4c3615a5c1a67c5 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of R²C²
-Copyright © 2006-2010  Mikkosoft Productions, Mikko Rasa
+Copyright © 2006-2011  Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
 
@@ -43,7 +43,7 @@ public:
        void expand(bool = true);
 
 private:
-       void train_control_changed(const std::string &, float);
+       void ai_event(const R2C2::TrainAI::Message &);
        void train_function_changed(unsigned, bool);
        void train_route_changed(const R2C2::Route *);
        void train_status_changed(const std::string &);