]> git.tdb.fi Git - r2c2.git/blobdiff - source/remote/remote.h
Some other minor UI tweaks
[r2c2.git] / source / remote / remote.h
index a9ab92b2c6f876973c4872ea7c21974e5bd6f16f..875f25bbbdbf803d962bdece37ee1e568f148727 100644 (file)
@@ -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_
 
@@ -17,7 +10,7 @@ Distributed under the GPL
 class MainPanel;
 class TrainPanel;
 
-class Remote: public Msp::Application
+class Remote: public Msp::RegisteredApplication<Remote>
 {
 private:
        Msp::IO::EventDispatcher event_disp;
@@ -29,8 +22,6 @@ private:
        MainPanel *main_panel;
        std::vector<TrainPanel *> train_panels;
 
-       static Msp::Application::RegApp<Remote> reg;
-
 public:
        Remote(int argc, char **argv);