//
//  Timer.h
//  SocketTest
//
//  Created by jcassidy on 07/06/09.
//  Copyright 2009 Visible Assets Inc.. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface Timer : NSObject {
	double endTime;
}

- (void)		setDuration:(float) duration;			// set duration of timer
- (BOOL)	timeout;										// test for timeout
- (double)	getTime;										// return time since epoch
- (void)		wait;												// block till timer expires (bad!)
- (void)		waitForDuration:( float ) duration;	// block for a specific duration (bad!)

@end
