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

> I would prefer getting rid of things like _get_object_token_() completely 
> and instead introduce an inner friend class BHandler::Private that exposes 
> the private parts of BHandler needed elsewhere (as done with BRoster). This 
> would also be a good place for a static BHandler *HandlerForToken(int32 
> token) method.

Yes, that's a better idea.
Getting rid of friendships as we did with BRoster and BRegion is much better.
BTW, talking about friendships, looking at how BMenu*** classes are designed
makes me think that we should restructure them. It's a big mess. Everyone is
friend of everyone other. I don't know if it's possible to fix them right now.
Anyway, at least I'm starting getting them working, so there is light at the end
of the tunnel.



____________________________________________________________
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: