1 #import <AppKit/AppKit.h> 2 #import <objc/Storage.h> 3 4 @interface hostobj : Object 5 { 6 Storage *hostlist; 7 NSMenu *hostmenu; 8 id mydispatch; 9 } 10 11 - initwithdispatch:(id)adispatch; 12 - (void) addhost:(int)iaddr; 13 - (BOOL) queryhost:(int)isuspect; 14 - (NSMenu *) gethostmenu; 15 - (void) removehost:(NSMenuItem *) sender; 16 17 @end 18