This is Animator.h in view mode; [Download] [Up]
// Animator.h // By R. E. Crandall // You may freely copy, distribute and reuse the code in this example. // NeXT disclaims any warranty of any kind, expressed or implied, as to its // fitness for any particular use. #import <AppKit/AppKit.h> #import <sys/time.h> #import <AppKit/dpsclient.h> #import <AppKit/NSDPSContext.h> @interface Animator:NSObject { int mask, ticking, passcounter; NSTimer *teNum; double interval, synctime, adapteddt, desireddt, t0, howOften; struct timeval entrytime; id target; SEL action; } - initChronon:(double)dt adaptation:(double)howoft target:(id)targ action:(SEL)act autoStart:(int)start eventMask:(int)eMask; - resetRealTime; - (double)getSyncTime; - (double)getDoubleEntryTime; - (double)getDoubleRealTime; - (double)getDouble; - adapt; - setBreakMask:(int)eventMask; - (int)getBreakMask; - (int)isTicking; - (int)shouldBreak; - setIncrement:(double)dt; - (double)getIncrement; - setAdaptation:(double)oft; - (void)setTarget:(id)targ; - (void)setAction:(SEL)aSelector; - startEntry; - stopEntry; - (void)dealloc; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.