-/* $Id$
-
-This file is part of R²C²
-Copyright © 2009-2010 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
#ifndef REMOTE_H_
#define REMOTE_H_
#include <msp/core/application.h>
#include "network/client.h"
+class MainPanel;
class TrainPanel;
-class Remote: public Msp::Application
+class Remote: public Msp::RegisteredApplication<Remote>
{
private:
Msp::IO::EventDispatcher event_disp;
R2C2::Client client;
Gtk::Main gtk;
Gtk::Window window;
- Gtk::Box *train_box;
+ Gtk::Box *panel_box;
+ MainPanel *main_panel;
std::vector<TrainPanel *> train_panels;
- static Msp::Application::RegApp<Remote> reg;
-
public:
Remote(int argc, char **argv);