comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:a223551fdc1f
1
2 // Super lightweight timer object that is
3 //
4 #define SECONDS_PER_INTERFACE 300
5 #import <Foundation/Foundation.h>
6
7
8 @interface TimedCallController : NSObject <UIAlertViewDelegate>
9 @property (nonatomic, assign) id theOFAppRef;
10 @property (nonatomic,strong) NSTimer * theCurrentTimer;
11
12 - (void)setAppRef:(id)theOFApp;
13 -(void)resetTime:(int)newTime; // if we want to put ourselves somewhen
14 -(void)startTimer; // go from start
15 -(void)cancelTimers; // stop the whole thing
16 -(void)callTheCallback;
17
18 @end