Google Custom Search

Handler.h File Reference

Provides the BHandler class. More...


Namespaces

namespace  BPrivate

Classes

class  BHandler
 Handles messages that are passed on by a BLooper. More...

Defines

#define B_OBSERVE_ORIGINAL_WHAT   "be:observe_orig_what"
 Constant for a message data field in observer messages.
#define B_OBSERVE_WHAT_CHANGE   "be:observe_change_what"
 Internal.

Variables

const uint32 B_OBSERVER_OBSERVE_ALL = 0xffffffff
 Parameter to BHandler::StartWatching().


Detailed Description

Provides the BHandler class.


Define Documentation

#define B_OBSERVE_ORIGINAL_WHAT   "be:observe_orig_what"

Constant for a message data field in observer messages.

If you have called one of the flavors of BHandler::StartWachting(), and you receive a notification, sometimes there can be send a BMessage to go with that notification. The message you receive is a copy of that message, but with the what constant set to B_OBSERVER_NOTICE_CHANGE. The original what constant of the transmitted data message is stored behind the label defined by this constant.


Variable Documentation

B_OBSERVER_OBSERVE_ALL = 0xffffffff

Parameter to BHandler::StartWatching().

Note:
Specifying this parameter as the what value, leads to the same results as calling BHandler::StartWatchingAll().


The Haiku Book pre-R1 - Handler.h File Reference
Generated on 14 Feb 2008