home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Examples / ThreadedApp-1.0.1 / ThreadTest.m < prev    next >
Encoding:
Text File  |  1997-04-02  |  391 b   |  25 lines

  1. static char rcsid[] = "$Id: ThreadTest.m,v 1.1 1997/04/02 18:28:47 croehrig Exp $";
  2. /*
  3.  *  ThreadTest  application controller.
  4.  */
  5.  
  6. #import <appkit/appkit.h>
  7. #import "ThreadTest.h"
  8. #import "Counter.h"
  9.  
  10. @implementation ThreadTest : Object
  11.  
  12. - newTest:sender
  13. {
  14.     [[Counter alloc] init];
  15.     return self;
  16. }
  17.  
  18. - kill:sender
  19. {
  20.     [[NXApp mainWindow] performClose:self];
  21.     return self;
  22. }
  23.  
  24. @end
  25.