Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Variables
Handler.h File Reference

Provides the BHandler class. More...

Classes

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

Namespaces

namespace  BPrivate
 Internal or experimental API.
 

Macros

#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.

Macro Definition Documentation

◆ B_OBSERVE_ORIGINAL_WHAT

#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.

Since
BeOS R5

◆ B_OBSERVE_WHAT_CHANGE

#define B_OBSERVE_WHAT_CHANGE   "be:observe_change_what"

Internal.

Since
BeOS R5

Variable Documentation

◆ B_OBSERVER_OBSERVE_ALL

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().
Since
BeOS R5