4 #include <msp/core/application.h>
5 #include <msp/gltk/resources.h>
6 #include <msp/gltk/root.h>
7 #include <msp/graphics/simplewindow.h>
8 #include <msp/io/eventdispatcher.h>
9 #include <msp/time/timestamp.h>
10 #include "network/client.h"
11 #include "statusbar.h"
12 #include "trainpanel.h"
13 #include "trainselector.h"
15 class Remote: public Msp::RegisteredApplication<Remote>
18 Msp::Graphics::SimpleGLWindow window;
19 R2C2::Catalogue catalogue;
21 Msp::IO::EventDispatcher ev_disp;
22 Msp::GLtk::Resources ui_resources;
24 Msp::GLtk::Layout *root_layout;
25 TrainSelector *selectors[2];
26 TrainPanel *panels[2];
28 Msp::Time::TimeStamp next_frame;
36 void train_selected(R2C2::NetTrain *, unsigned);