]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/signal.h
Proper ID management for Signals
[r2c2.git] / source / libr2c2 / signal.h
index d774e76b424057d864fc59f16f2550bde2f258ae..801a0b1d6fce596732ddf26309422f7aaab64e34 100644 (file)
@@ -6,7 +6,6 @@
 #include "blockiter.h"
 #include "geometry.h"
 #include "signaltype.h"
-#include "track.h"
 #include "trackattachment.h"
 
 namespace R2C2 {
@@ -31,6 +30,7 @@ public:
 private:
        const SignalType &type;
        unsigned address;
+       unsigned id;
        BlockIter block;
        Train *train;
        sigc::connection train_conn;