|
|
1.1 ! root 1: /* ! 2: DEOProtocols.h created by enoyau on Fri 13-Jan-1995 ! 3: ! 4: You may freely copy, distribute, and reuse the code in this example. ! 5: NeXT disclaims any warranty of any kind, expressed or implied, as to its ! 6: fitness for any particular use. ! 7: */ ! 8: // Communication protocols between the DEONotificationCenter and the ! 9: // DEOServer. ! 10: ! 11: #import <foundation/NSString.h> ! 12: #import <foundation/NSDictionary.h> ! 13: ! 14: #define wantLog YES ! 15: ! 16: #define DEOServerName "DEOServer" ! 17: ! 18: @protocol DEOClient ! 19: - (oneway)dispatchInformation:(NSDictionary *)info ! 20: forKey:(NSString *)key ! 21: userInfo:(NSDictionary *)userInfo; ! 22: @end ! 23: ! 24: @protocol DEOServer <DEOClient> ! 25: - (oneway)registerClient:(id <DEOClient>)client forKey:(NSString *)key; ! 26: - (oneway)unregisterClient:(id <DEOClient>)client forKey:(NSString *)key; ! 27: - (oneway)unregisterClient:(id <DEOClient>)client; ! 28: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.