X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fintellibox.h;h=efdf3b2edd633b72fe54a1f0471b75d45269bef4;hb=850c1d571f2d2d157a873b678d86e4a5c771ba26;hp=e5f63de6c728dca7597d78887864aaffba68aa89;hpb=6010ad6857ce5690f4053bf8795f2c476daa4694;p=r2c2.git diff --git a/source/libr2c2/intellibox.h b/source/libr2c2/intellibox.h index e5f63de..efdf3b2 100644 --- a/source/libr2c2/intellibox.h +++ b/source/libr2c2/intellibox.h @@ -1,14 +1,8 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef LIBR2C2_INTELLIBOX_H_ #define LIBR2C2_INTELLIBOX_H_ #include +#include #include #include "driver.h" @@ -68,7 +62,7 @@ private: ERR_NO_I2C_SPACE, ERR_LOW_TURNOUT_SPACE=0x40, ERR_LOK_HALTED, - ERR_LOK_POWER_OFF, + ERR_LOK_POWER_OFF }; enum Protocol @@ -119,7 +113,7 @@ private: unsigned length; }; - int serial_fd; + Msp::IO::Serial serial; bool power; bool halted; std::map locos;