[interfacekit] Re: BHandler::fToken

  • From: Erik Jaesler <erik@xxxxxxxxxxxxxx>
  • To: interfacekit@xxxxxxxxxxxxx
  • Date: Wed, 12 Mar 2003 11:06:31 -0800

Ingo Weinhold wrote:
> I wondered, how BView/BWindow could get the token of a BHandler, since
> neither is a friend of it, but it seems I overlooked the inline friend
> function `int32 _get_object_token_(const BHandler* )'. BTW, I'd propose to
> drop all current friends and introduce a single friend class
> BHandler::Private (similar to BRoster::Private), which bundles the
> private member access.

DarkWyrm and I have had several discussions about this idea in the 
distant past ;) and came to the conclusion that this would be one of the 
first refactorings to happen once we were at least feature-complete. 
Why wait?  Because it seems more important right now to just get 
everything written and working than concentrating on abstraction 
niceties. =)  The heavy use of friend throughout the API is pretty bogus.

e


Other related posts: