This is STRemoteMethodCategory.m in view mode; [Download] [Up]
#import <appkit/appkit.h> #import <foundation/NSString.h> #import "STRemoteMethodCategory.h" @implementation STAppController(STRemoteMethods) /* these methods implement the DesktopAppProtocol protocol */ - (oneway)hide { [NXApp hide:self]; } - (oneway)quit { [NXApp terminate:self]; } - (NSString *)fdAppName { NSString *name = [[NSString alloc] initWithCString: [(Application *)NXApp appName]]; return [name autorelease]; } - (NSString *)fdAppVersion { NSString *ver = @"1.0"; return ver; } - (void)openClaimNumber:(NSString *)claimNum { return; } - (void)addClaimNumber:(NSString *)claimNum { return; } - (void)closeClaimNumber:(NSString *)claimNum andSave:(BOOL)save { return; } - (void)setScreenRealEstate:(NXRect *)screenRect { return; } - (void)arrangeWindows { return; } - (void)updateDisplay { return; } - (void)updateDisplayForClaim:(NSString *)aClaimNumber { return; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.