X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fintellibox.h;h=d3008d2f8ed200219d630f939d8c100f68f2dfee;hb=621c5c938d70ba0d155e0eda91a708db0a52c0dc;hp=a4eed30d4bcf0cda32e28c80ee2748c786d7872a;hpb=247742fbc1c27bfc9fdef4630afcdc2408cdd550;p=r2c2.git diff --git a/source/libr2c2/intellibox.h b/source/libr2c2/intellibox.h index a4eed30..d3008d2 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" @@ -96,6 +90,7 @@ private: unsigned bits; unsigned state; bool active; + bool synced; unsigned pending; Msp::Time::TimeStamp off_timeout; @@ -118,7 +113,7 @@ private: unsigned length; }; - int serial_fd; + Msp::IO::Serial serial; bool power; bool halted; std::map locos;