This is StopWatch.h in view mode; [Download] [Up]
/*
File StopWatch.h
A stopwatch can be stopped, started, and reset. It measures total process time, including time spent in the system.
*/
#import <objc/Object.h>
/* 行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行 */
@interface StopWatch:Object
{
float time;
float beganAt;
}
- (float) getTime;
- reset;
- start;
- stop;
@endThese are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.