X-Git-Url: http://nitlanguage.org diff --git a/lib/app.nit b/lib/app.nit index bd74daa..3e2d737 100644 --- a/lib/app.nit +++ b/lib/app.nit @@ -27,6 +27,10 @@ module app class App protected init do end + # Starts the internal setup of graphical and other stuff + # Is called just before run + protected fun setup do end + # Main entry point of your application fun run do end @@ -49,4 +53,5 @@ class App end protected fun app: App do return once new App +app.setup app.run