[interfacekit] Re: BHandler::StartWatching()

alan@xxxxxxxxxxxxxx (Alan Ellis) wrote:
> A warning. The BeBook is somewhat incorrect on this topic. I can't
> remember the exact details, but I know that how it works in R5 and 
> how
> it is documented in the BeBook differ.

BeBook:
"StartWatching() works by sending a message to the BHandler you want to 
observe, with a BMessenger back to the observer, so both must be 
attached to a 
looper at the time StartWatching() is called."

That paragraph reads like I understand StartWatching() before. And 
Start/StopWatchingAll() does not work as expected (but was already used 
that way in applications like Tracker).

> If you want R5 compat, you will probably have to do some imperical
> testing.

For the reasons above, I don't think we have to be compatible with that 
bug at all.

Adios...
   Axel.



Other related posts: