|
|
1.1 ! root 1: /* ! 2: DEONotification.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: // DEONotification is a subclass of NSNotification which contains some ! 9: // additional information like userInfo and isLocal. ! 10: ! 11: #import <foundation/NSNotification.h> ! 12: ! 13: @interface DEONotification : NSNotification ! 14: { ! 15: NSString *name; ! 16: id object; ! 17: NSDictionary *userInfo; ! 18: BOOL isLocal; ! 19: } ! 20: + (DEONotification *)notificationWithName:(NSString *)name ! 21: object:object ! 22: userInfo:(NSDictionary *)userInfo ! 23: isLocal:(BOOL)yn; ! 24: - (BOOL)isLocal; ! 25: - (NSDictionary *)userInfo; ! 26: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.