Mercurial > hg > tweakathon2ios
annotate TimedCallController.h @ 52:89944ab3e129 tip
fix oF linker errors ios8
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 03 Feb 2015 13:18:23 +0000 |
parents | a223551fdc1f |
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 |