X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Flayout.h;h=02a4654e2d8f6ea63000b183d662511960e1a620;hb=8b828fc32fd210b6e335ac6614d269aa892d4d57;hp=f0a292f580e9847507a57f3acb49c64d175b54eb;hpb=277e8e7e4230aa8867f507ace62476afe575cff1;p=r2c2.git diff --git a/source/libr2c2/layout.h b/source/libr2c2/layout.h index f0a292f..02a4654 100644 --- a/source/libr2c2/layout.h +++ b/source/libr2c2/layout.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2006-2011 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef LIBR2C2_LAYOUT_H_ #define LIBR2C2_LAYOUT_H_ @@ -12,11 +5,11 @@ Distributed under the GPL #include #include #include +#include "block.h" namespace R2C2 { class ArticleNumber; -class Block; class Catalogue; class Driver; class Route; @@ -62,6 +55,7 @@ public: sigc::signal signal_vehicle_added; sigc::signal signal_vehicle_removed; sigc::signal signal_block_reserved; + sigc::signal signal_block_state_changed; sigc::signal signal_emergency; private: @@ -125,7 +119,7 @@ public: void save(const std::string &) const; void save_dynamic(const std::string &) const; private: - void sensor_event(unsigned, bool); + void block_state_changed(Block &, Block::State); }; } // namespace R2C2