]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/designer.h
Use the new API for defining types in a collection
[r2c2.git] / source / designer / designer.h
index cbf01d040a07b82808893fdd305f8732ade02080..b19eb66c2e87b39b4e0c2cec2787181fc21f06ce 100644 (file)
@@ -1,16 +1,9 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2006-2011 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef DESIGNER_H_
 #define DESIGNER_H_
 
 #include <string>
 #include <msp/core/application.h>
-#include <msp/gbase/simplewindow.h>
+#include <msp/graphics/simplewindow.h>
 #include <msp/gl/camera.h>
 #include <msp/gl/font.h>
 #include <msp/gl/light.h>
@@ -35,7 +28,7 @@ Distributed under the GPL
 
 class Toolbar;
 
-class Designer: public Msp::Application
+class Designer: public Msp::RegisteredApplication<Designer>
 {
 private:
        enum Mode
@@ -77,8 +70,6 @@ private:
 
        Msp::Time::TimeStamp last_tick;
 
-       static Msp::Application::RegApp<Designer> reg;
-
 public:
        Designer(int, char **);
        ~Designer();