U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Callbacks and Timers » Feature request
Re: Feature request [message #42222 is a reply to message #42019] Fri, 28 February 2014 12:58 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1310
Registered: September 2007
Ultimate Contributor
Maybe a generic callback with a 'what' parameter could be added to Ctrl.... I mean

ctrl.GenericAction = THISBACK1(handler)
......
void handler(int reason)


This would not add too much size to ctrl and more 'reasons' could be added in future.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: manually creating callback
Next Topic: Kill callbacks when parent is destructed
Goto Forum:
  


Current Time: Sat May 23 07:47:33 GMT+2 2026

Total time taken to generate the page: 0.00425 seconds