Mercurial > hg > soniczoomios
view TimedSessionController.h @ 44:a1e75b94c505
Snap to eval points. Double tap to go to preset (doesn't quite work yet). Coloured locks. Changed Question 2. Fixed some leaks.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Mon, 22 Apr 2013 18:32:34 +0100 |
parents | af06bb942d58 |
children |
line wrap: on
line source
// // TimedSessionController.h // sonicZoom // // Created by Robert Tubb on 18/02/2013. // // #define SECONDS_PER_INTERFACE 300 #import <Foundation/Foundation.h> @interface TimedSessionController : 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)showNextPrompt; @end