home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / Rhapsody / developer / examples / LocalizationExample.5.0.m.I.bs.tz / LocalizationExample.5.0.m.I.bs / LocalizationExample.5.0.I.bs / Source / Spewer.h < prev    next >
Encoding:
Text File  |  1997-11-03  |  777 b   |  39 lines

  1.  
  2. // Copyright (c) 1997 by Don Yacktman
  3. // All rights reserved.
  4. // Permission to use this code in your application, whether
  5. // commercial, shareware, or freeware, is granted.
  6. // This notice may not be removed or altered.
  7.  
  8.  
  9. #import <AppKit/AppKit.h>
  10. #import "Animator.h"
  11.  
  12. // 1 out of this many clock ticks will start
  13. // a new envelope flying
  14. #define FREQUENCY 5    
  15.  
  16. // max number of envelopes that can be on the
  17. // screen at any given time
  18. #define MAX_SPEWS 40
  19.  
  20.  
  21. @interface Spewer:NSObject
  22. {
  23.     BOOL createOK;
  24.     Animator *animator;
  25.     NSMutableArray *windowList;
  26.     id initiator;
  27.     NSMutableArray *_extraList;
  28.     NSMutableArray *idleWindows;
  29. }
  30.  
  31. - init;
  32. - start:sender;
  33. - (void)stop:(id)sender;
  34. - (BOOL)windowShouldClose:(id)sender;
  35. - (void)dealloc;
  36. - addWindow;
  37. - move:sender;
  38.  
  39. @end