[interfacekit] Re: BHandler::StartWatching()


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.

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

The story behind this feature is that it was 'snuck' in so it didn't get
as much testing and doc as it really should have.

Alan

On Mon, Oct 21, 2002 at 03:12:28AM +0200, Axel =?iso-8859-1?q?D=F6rfler ?= 
wrote:
> 
> Hi,
> 
> Ingo and I had a longer discussion about BHandler's StartWatching() 
> functionality - though Ingo was apparently right (and the BeBook is 
> really clear on that point, too), OpenTracker seems to work anyway 
> which uses the way I thought that functionality would work (which was 
> inspired by the OpenTracker source).
> Although we can't say anything about that, Ingo found out that the 
> handler to be notified receives a message 'OBST' when the observation 
> starts, and 'OBSP' when the observation stops (those messages actually 
> lead me to think that the target BHandler would register the other 
> handler to be notifed, not vice versa, as it is).
> 
> To cut a long story short, the current OpenBeOS implementation doesn't 
> do that yet :-)
> 
> Adios...
>    Axel.
> 
> 

Other related posts: