ftp.nice.ch/pub/next/developer/languages/c/egcs.1.1.1.1beta.I.b.tar.gz#/lib/gcc-lib/i386-next-nextstep3/egcs-2.91.60/include/machkit/NXInvalidationNotifier.h

This is NXInvalidationNotifier.h in view mode; [Download] [Up]

/*
 * NXInvalidationNotifier
 * allow objects to register themselves for a senderIsInvalid message
 * Notification is triggered by sending "invalidate" to this object
 * Copyright 1991, NeXT Computer, Inc.
 */

#import <objc/List.h>
#import <machkit/reference.h>
#import <machkit/senderIsInvalid.h>
#import <machkit/NXLock.h>

@interface NXInvalidationNotifier : Object <NXReference> {
@protected
	unsigned	refcount;
	BOOL		isValid;
	NXLock		*listGate;
	List		*funeralList;
}

- init;
- deallocate;

- invalidate;
- (BOOL) isValid;

/* The target of this message will arrange to send "senderIsInvalid"*/
/* when, indeed, the target is about to die (is invalidated).*/

- registerForInvalidationNotification:(id <NXSenderIsInvalid>)anObject;

/* cancel the request for notification*/
- unregisterForInvalidationNotification:(id <NXSenderIsInvalid>)anObject;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.