home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Internet / News / Alexandra.0.82 / Source / Preferences.subproj / FromHeaderPanel.m < prev    next >
Encoding:
Text File  |  1996-01-30  |  472 b   |  32 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import "FromHeaderPanel.h"
  4.  
  5. @implementation FromHeaderPanel
  6.  
  7. - (int)runModalForAddress:(const char *)fromAddress;
  8.     {
  9.     int ret;
  10.     
  11.     [nameField setStringValue:fromAddress];
  12.     [self makeKeyAndOrderFront:self];
  13.     ret=[NXApp runModalFor:self];
  14.     [self orderOut:self];
  15.     return ret;
  16.     }
  17.     
  18.     
  19. - (const char *)fromAddress;
  20.     {
  21.     return [nameField stringValue];
  22.     }
  23.     
  24.  
  25. - abortModalLoop:sender;
  26.     {
  27.     return [NXApp stopModal:[[sender selectedCell] tag]];
  28.     }
  29.     
  30.  
  31. @end
  32.