3 This file is part of the MSP Märklin suite
4 Copyright © 2009-2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
11 #include <gtkmm/main.h>
12 #include <gtkmm/window.h>
13 #include <gtkmm/box.h>
14 #include <msp/core/application.h>
15 #include "network/client.h"
19 class Remote: public Msp::Application
22 Msp::IO::EventDispatcher event_disp;
23 Marklin::Catalogue catalogue;
24 Marklin::Client client;
28 std::vector<TrainPanel *> train_panels;
30 static Msp::Application::RegApp<Remote> reg;
33 Remote(int argc, char **argv);
35 const Marklin::Catalogue &get_catalogue() const { return catalogue; }
39 void train_added(Marklin::NetTrain &);