]> git.tdb.fi Git - r2c2.git/blobdiff - source/remote/remote.h
Enforce a lower limit for camera distance
[r2c2.git] / source / remote / remote.h
index 4599a139af32989b2c0c4212168c8d15694cac29..6d6be3377aa1f1cc71ffb2b4407c88335f0ee03e 100644 (file)
@@ -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 <msp/core/application.h>
 #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<TrainPanel *> train_panels;
 
        static Msp::Application::RegApp<Remote> reg;
 
 public:
        Remote(int argc, char **argv);
+
+       const Marklin::Catalogue &get_catalogue() const { return catalogue; }
 private:
        void tick();