Mercurial > hg > tweakathon2ios
diff TimedCallController.h @ 0:a223551fdc1f
First commit - copy from tweakathlon.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Fri, 10 Oct 2014 11:46:42 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TimedCallController.h Fri Oct 10 11:46:42 2014 +0100 @@ -0,0 +1,18 @@ + +// Super lightweight timer object that is +// +#define SECONDS_PER_INTERFACE 300 +#import <Foundation/Foundation.h> + + +@interface TimedCallController : NSObject <UIAlertViewDelegate> +@property (nonatomic, assign) id theOFAppRef; +@property (nonatomic,strong) NSTimer * theCurrentTimer; + +- (void)setAppRef:(id)theOFApp; +-(void)resetTime:(int)newTime; // if we want to put ourselves somewhen +-(void)startTimer; // go from start +-(void)cancelTimers; // stop the whole thing +-(void)callTheCallback; + +@end