lib/mnit_linux: update linux mnit implementation to use the new life-cycle
[nit.git] / lib / mnit_linux / linux_app.nit
index 440187a..45d15c1 100644 (file)
@@ -36,7 +36,20 @@ redef class App
 
                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