]> git.tdb.fi Git - r2c2.git/blobdiff - source/remote/remote.h
Send and receive power/halt states over network
[r2c2.git] / source / remote / remote.h
index 0d6d413d2e2db93ff38a6874a1cbfba1c9f34797..a9ab92b2c6f876973c4872ea7c21974e5bd6f16f 100644 (file)
@@ -14,6 +14,7 @@ Distributed under the GPL
 #include <msp/core/application.h>
 #include "network/client.h"
 
+class MainPanel;
 class TrainPanel;
 
 class Remote: public Msp::Application
@@ -24,7 +25,8 @@ private:
        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;