>Does the model keep a list of views and call back
to them?
>for each view do
> view->update(me);
>done
Model::changed () {
for each registered callback {
callback->execute ();
}
}
OK, this is (more or less) what I said. Different actors, same concept. I
guess the granularity for callbacks would be finer that "tell me when the
model has changed" and more like "tell me when the foo of the model has
changed"?
Tim