X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fcentralstation.h;h=4554d147b91382242422f729f8aade4d6c8521af;hb=8b828fc32fd210b6e335ac6614d269aa892d4d57;hp=ce5253b1abe97f44a16e582ee3b133b20d33b589;hpb=e61a3ee0847b957152d98ba5945e42325821c357;p=r2c2.git diff --git a/source/libr2c2/centralstation.h b/source/libr2c2/centralstation.h index ce5253b..4554d14 100644 --- a/source/libr2c2/centralstation.h +++ b/source/libr2c2/centralstation.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef LIBR2C2_CENTRALSTATION_H_ #define LIBR2C2_CENTRALSTATION_H_ @@ -30,7 +23,7 @@ private: struct Message { - typedef std::map AttribMap; + typedef std::multimap AttribMap; typedef std::map ObjectMap; Tag header; @@ -68,6 +61,7 @@ private: unsigned address; unsigned speed; bool reverse; + unsigned func_mask; unsigned funcs; bool control; @@ -96,7 +90,6 @@ private: struct Sensor { bool state; - Msp::Time::TimeStamp off_timeout; Sensor(); };