[haiku-doc] Re: Finished initial docs for BHandler

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-doc@xxxxxxxxxxxxx
  • Date: Thu, 03 Jan 2008 16:27:26 +0100 CET

"Niels Reedijk" <niels.reedijk@xxxxxxxxx> wrote:
> As a post-christmas gift, here
> (http://factory.haiku-os.org/documentation/Haiku_Book_doxygen/html/classBHandler.html)
> > is the initial documentation for BHandler.

Nice, and thanks!

I just have two suggestions:
1) the warning to not clobber the message in MessageReceived() could 
have a hint that you can detach the current message using your looper's 
DetachCurrentMessage().
2) the description to StartWatching[All](BMessenger ...) is a bit 
misleading: you actually subscribe yourself with the "target" to watch 
the specified state on the target handler, not vice versa. Same for 
StopWatching[All](BMessenger ...).

Bye,
   Axel.


Other related posts: