home *** CD-ROM | disk | FTP | other *** search
-
- #import <appkit/appkit.h>
- #import "FromHeaderPanel.h"
-
- @implementation FromHeaderPanel
-
- - (int)runModalForAddress:(const char *)fromAddress;
- {
- int ret;
-
- [nameField setStringValue:fromAddress];
- [self makeKeyAndOrderFront:self];
- ret=[NXApp runModalFor:self];
- [self orderOut:self];
- return ret;
- }
-
-
- - (const char *)fromAddress;
- {
- return [nameField stringValue];
- }
-
-
- - abortModalLoop:sender;
- {
- return [NXApp stopModal:[[sender selectedCell] tag]];
- }
-
-
- @end
-