[interfacekit] Re: Object token -> Object, restoring focus...

> In the private part of the App Kit there is a class BTokenSpace and a 
> global instance gDefaultTokens which manages the BHandler tokens of the 
> application. BTokenSpace::GetToken() fed with the token and token type 
> B_HANDLER_TOKEN returns the respective BHandler* (as void* through the 
> third argument). The callback is usually omitted.

Thank you very much: that helped (as you can see by the last commit).

BTW, shouldn't be there a static GetHandlerForToken(int32) function in Handler.h
? At least, I would see it as a nice addition. 

Or maybe it's not useful to the "normal" developer, but since we have already
_get_object_token()....






____________________________________________________________
Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di 
musica, film, video e sport. 
Abbonati subito senza costi di attivazione su http://www.libero.it




Other related posts: