Mercurial > hg > tweakathon2ios
view TimedCallController.h @ 17:2a7320a8cbed
explore mode shows stuff, can go thru saving various presets.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 21 Oct 2014 18:58:25 +0100 |
parents | a223551fdc1f |
children |
line wrap: on
line source
// 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