comparison mde/scheduler/initFunctions.d @ 39:5132301e9ed7

Implemented widget saving. Widget creation data saving (sub-widgets, etc:) code there but not used. Widget mutable data saving & loading: window size/position, row/column dimensions saved (still needs a fix in GridWidget.setSize()). committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Wed, 07 May 2008 13:07:03 +0100
parents 316b0230a849
children
comparison
equal deleted inserted replaced
38:8c4c96f04e7f 39:5132301e9ed7
63 63
64 InitFunction[] funcs = []; 64 InitFunction[] funcs = [];
65 } 65 }
66 66
67 InitStage init; // all functions called during init (all should be thread-safe) 67 InitStage init; // all functions called during init (all should be thread-safe)
68 //FIXME: implement:
69 InitStage save; // all functions to be called to save data (possible to run more than once)
68 InitStage cleanup; // all functions called during cleanup (all should be thread-safe) 70 InitStage cleanup; // all functions called during cleanup (all should be thread-safe)
69 71
70 package: 72 package:
71 bool initFailure = false; // set on failure (throwing through threads isn't a good idea) 73 bool initFailure = false; // set on failure (throwing through threads isn't a good idea)
72 74