Functions



disable

Abstract: Disables the notification request.
public:

virtual bool disable() = 0;

Disables the notification request. This method is synchronous with any handler invocations, so when this method returns its guaranteed the handler will not be in entered.

Result: Returns the previous enable state of the IONotifier.

enable

Abstract: Sets the enable state of the notification request.
public:

virtual void enable( bool was ) = 0;

Restores the enable state of the notification request, given the previous state passed in.

Parameters

NameDescription
wasThe enable state of the notifier to restore.

remove

Abstract: Removes the notification request and releases it.
public:

virtual void remove() = 0;

Removes the notification request and release it. Since creating an IONotifier instance will leave it with a retain count of one, creating an IONotifier and then removing it will destroy it. This method is synchronous with any handler invocations, so when this method returns its guaranteed the handler will not be in entered.


© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)