X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fremote%2Fremote.h;h=875f25bbbdbf803d962bdece37ee1e568f148727;hb=f74a48e60ff2e818ada3bbbfcb200e5cd2b633d6;hp=0d6d413d2e2db93ff38a6874a1cbfba1c9f34797;hpb=1ff06c5bc46a677fa389ef86c6b26664368f1653;p=r2c2.git diff --git a/source/remote/remote.h b/source/remote/remote.h index 0d6d413..875f25b 100644 --- a/source/remote/remote.h +++ b/source/remote/remote.h @@ -1,10 +1,3 @@ -/* $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_ @@ -14,9 +7,10 @@ Distributed under the GPL #include #include "network/client.h" +class MainPanel; class TrainPanel; -class Remote: public Msp::Application +class Remote: public Msp::RegisteredApplication { private: Msp::IO::EventDispatcher event_disp; @@ -24,11 +18,10 @@ private: R2C2::Client client; Gtk::Main gtk; Gtk::Window window; - Gtk::Box *train_box; + Gtk::Box *panel_box; + MainPanel *main_panel; std::vector train_panels; - static Msp::Application::RegApp reg; - public: Remote(int argc, char **argv);