This is unhide.m in view mode; [Download] [Up]
#import <appkit/Listener.h> // NXSetServicesMenuItemEnabled #import "Filter.h" @implementation Unhide: Object - (void) filter: (Filter *) f flag: (char) ch { NXPrintf(f->err, "usage: %s [menu...]\n", f->progname), NXFlush(f->err); exit(1); } - (int) filter: (Filter *) f arg: (const char *) menu { if (menu) if (NXSetServicesMenuItemEnabled(menu, YES)) [self error: "could not unhide \"%s\"", menu]; return 0; } @end int main (int argc, char * argv []) { return [[[Filter alloc] initFor: [Unhide new]] run: argv]; }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.