|
|
Sample Programs from NeXSTEP 3.3
/*
DEOProtocols.h created by enoyau on Fri 13-Jan-1995
You may freely copy, distribute, and reuse the code in this example.
NeXT disclaims any warranty of any kind, expressed or implied, as to its
fitness for any particular use.
*/
// Communication protocols between the DEONotificationCenter and the
// DEOServer.
#import <foundation/NSString.h>
#import <foundation/NSDictionary.h>
#define wantLog YES
#define DEOServerName "DEOServer"
@protocol DEOClient
- (oneway)dispatchInformation:(NSDictionary *)info
forKey:(NSString *)key
userInfo:(NSDictionary *)userInfo;
@end
@protocol DEOServer <DEOClient>
- (oneway)registerClient:(id <DEOClient>)client forKey:(NSString *)key;
- (oneway)unregisterClient:(id <DEOClient>)client forKey:(NSString *)key;
- (oneway)unregisterClient:(id <DEOClient>)client;
@end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.