in reply to Event based programming: Callbacks or "Interfaces"?

Are you working with an infrared remote control? Well, I'm working on something similar :)

I copied the approach used by CGI::Application: every Remote class has methods for every buttons/runmodes, but, unlike C::A, the association of a runmode to one or more buttons is made inside a configuration file.

HTH, Valerio

  • Comment on Re: Event based programming: Callbacks or "Interfaces"?