/* $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
*/
#include <msp/core/application.h>
#include "network/client.h"
+class TrainPanel;
+
class Remote: public Msp::Application
{
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();