Library / tool for event-driven Arduino code ?

I will be doing some Arduino code over the next several months, and would like to write in an event-driven style i.e. I'd like to design my events (timer, button, etc.), register my callback functions for each event, and then just hand off control to the event dispatcher.

Is there a library I can use for this? I came across Aiko but cannot tell if it is currently maintained. I also came across QM / state-machine.com but it seems to require quite hardcore C++ programming (pointers, casts, etc.) which I really prefer to avoid for now.

Any suggestions appreciated!

There was someone who elaborated such a system a few month ago ... I 'll check if I can find it ....

found it ...
check - http://arduino.cc/forum/index.php/topic,51439.0.html -

Thank you, Rob! That looks very promising.