callbacks: have a single parameterised Callback class.

Use class instead of struct as a cheap means of keeping constant address.

Signed-off-by: Peter Williams <pwil3058@gmail.com>