]> git.tdb.fi Git - r2c2.git/blobdiff - source/network/packets.h
Use different stopping margin depending on whether the next track is a turnout
[r2c2.git] / source / network / packets.h
index 8bbaf8e239d4b8d3dd946f5c3e0817d1098df496..8001b8c1baa721beab957a34459e843d3c063219 100644 (file)
@@ -1,21 +1,21 @@
 /* $Id$
 
-This file is part of the MSP Märklin suite
+This file is part of R²C²
 Copyright © 2009  Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
 
-#ifndef MARKLINNET_PACKETS_H_
-#define MARKLINNET_PACKETS_H_
+#ifndef R2C2_NET_PACKETS_H_
+#define R2C2_NET_PACKETS_H_
 
 #include <string>
 
-namespace Marklin {
+namespace R2C2 {
 
 struct TrainInfoPacket
 {
        unsigned address;
-       unsigned loco_type;
+       std::string loco_type;
        std::string name;
 };
 
@@ -54,6 +54,6 @@ struct ErrorPacket
        std::string message;
 };
 
-} // namespace Marklin
+} // namespace R2C2
 
 #endif