X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fremote%2Fremote.h;h=6d6be3377aa1f1cc71ffb2b4407c88335f0ee03e;hb=6ba6af3637c299ab00828c49de9151429488cc17;hp=4599a139af32989b2c0c4212168c8d15694cac29;hpb=010d8321e982d1684fcbff5bf6fc2bdec7cb7bae;p=r2c2.git diff --git a/source/remote/remote.h b/source/remote/remote.h index 4599a13..6d6be33 100644 --- a/source/remote/remote.h +++ b/source/remote/remote.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of the MSP Märklin suite -Copyright © 2009 Mikkosoft Productions, Mikko Rasa +Copyright © 2009-2010 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -14,6 +14,8 @@ Distributed under the GPL #include #include "network/client.h" +class TrainPanel; + class Remote: public Msp::Application { private: @@ -23,11 +25,14 @@ private: Gtk::Main gtk; Gtk::Window window; Gtk::Box *train_box; + std::vector train_panels; static Msp::Application::RegApp reg; public: Remote(int argc, char **argv); + + const Marklin::Catalogue &get_catalogue() const { return catalogue; } private: void tick();