]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/train.h
Allow setting sensor ID for multiple tracks at once
[r2c2.git] / source / libmarklin / train.h
index 0b88d8ac6af6fef6f5fee5af9da7cd51be8d52b7..43ee84dc5cd6c590e7d7a69a16dfe0eb0f3cf982 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
 #ifndef LIBMARKLIN_TRAIN_H_
 #define LIBMARKLIN_TRAIN_H_
 
@@ -51,7 +58,7 @@ public:
        void tick(const Msp::Time::TimeStamp &);
 private:
        void sensor_event(bool, Sensor *);
-       bool reserve_more();
+       unsigned reserve_more();
        void set_status(const std::string &);
 };