This is FromHeaderPanel.m in view mode; [Download] [Up]
#import <appkit/appkit.h>
#import "FromHeaderPanel.h"
@implementation FromHeaderPanel
- (int)runModalForAddress:(const char *)fromAddress withExplanation:(const char *)explanation;
{
[nameField setStringValue:fromAddress];
[explanationField setStringValue:explanation];
return [NXApp runModalFor:self];
}
- (const char *)fromAddress;
{
return [nameField stringValue];
}
- abortModalLoop:sender;
{
return [NXApp stopModal:[[sender selectedCell] tag]];
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.