Mercurial > hg > soniczoomios
annotate TimedSessionController.h @ 49:178642d134a7 tip
xtra files
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 01 May 2013 17:34:33 +0100 |
parents | af06bb942d58 |
children |
rev | line source |
---|---|
rt300@29 | 1 // |
rt300@29 | 2 // TimedSessionController.h |
rt300@29 | 3 // sonicZoom |
rt300@29 | 4 // |
rt300@29 | 5 // Created by Robert Tubb on 18/02/2013. |
rt300@29 | 6 // |
rt300@29 | 7 // |
rt300@40 | 8 #define SECONDS_PER_INTERFACE 300 |
rt300@29 | 9 #import <Foundation/Foundation.h> |
rt300@29 | 10 |
rt300@29 | 11 |
rt300@29 | 12 @interface TimedSessionController : NSObject <UIAlertViewDelegate> |
rt300@29 | 13 @property (nonatomic, assign) id theOFAppRef; |
rt300@29 | 14 @property (nonatomic,strong) NSTimer * theCurrentTimer; |
rt300@29 | 15 |
rt300@29 | 16 - (void)setAppRef:(id)theOFApp; |
rt300@29 | 17 -(void)resetTime:(int)newTime; // if we want to put ourselves somewhen |
rt300@29 | 18 -(void)startTimer; // go from start |
rt300@29 | 19 -(void)cancelTimers; // stop the whole thing |
rt300@29 | 20 -(void)showNextPrompt; |
rt300@29 | 21 |
rt300@29 | 22 @end |