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