Mercurial > projects > mde
diff mde/scheduler/InitFunctions.d @ 27:0aa621b3e070
Some GUI work, plus a small fix in the paths module.
Implemented GUI code to load windows from file with a basic widget and draw.
Fixed a bug in mde.resource.paths.mdeDirectory.makeMTReader when called with readOrder == PRIORITY.HIGH_ONLY.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 04 Apr 2008 17:07:38 +0100 |
parents | 611f7b9063c6 |
children | f985c28c0ec9 |
line wrap: on
line diff
--- a/mde/scheduler/InitFunctions.d Thu Apr 03 18:15:02 2008 +0100 +++ b/mde/scheduler/InitFunctions.d Fri Apr 04 17:07:38 2008 +0100 @@ -15,7 +15,12 @@ /** This module is responsible for calling all init functions. * -* It is also responsible for setting up all scheduled functions for now. */ +* It is also responsible for setting up all scheduled functions for now. + +* Idea: change import direction so this module adds all init functions. All init functions are +* wrapped in another function before being run in a thread (i.e. run indirectly). Functions fail +* either by throwing an exception or by returning a boolean. Functions may take parameters, e.g. +* "out cleanupFunc[]". */ module mde.scheduler.InitFunctions; static import mde.gl;