Hello Team
The current callback system only allows for standalone functions to be passed, so you need to use global variables in order to make the callback interactable with the rest of the code. I added an abstract listener class in order to make the code more flexible when making callbacks. It's retro-compatible, so the legacy code wouldn't be compromised.
we already put this as a pull request, I know that these kidn of changes must be authorized by esoteric software to be fully compliant with the terms and conditions.
Could you please help us to code review the pull request in the git, and if everything its ok authorize us to use it?