projects: update some short descriptions
[nit.git] / lib / mnit_linux / linux_app.nit
index b071182..45d15c1 100644 (file)
@@ -19,6 +19,7 @@ module linux_app
 import mnit
 import sdl
 import linux_opengles1
+import linux
 
 in "C" `{
        #include <EGL/egl.h>
@@ -30,11 +31,25 @@ redef class App
 
        redef fun setup
        do
+               if "NIT_TESTING".environ == "true" then exit 0
                display = new Opengles1Display
 
                super
 
-               window_created
+               on_create
+               on_restore_state
+               on_start
+               on_resume
+       end
+
+       redef fun run
+       do
+               super
+
+               on_pause
+               on_save_state
+               on_stop
+               on_destroy
        end
 
        redef fun generate_input