Mercurial > hg > soniczoomios
annotate TimedSessionController.h @ 29:fabb3a5cdfc9
Timed session improvements. Desperate pathetic attempts to send a simple HTTP POST.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Fri, 22 Feb 2013 17:41:38 +0000 |
parents | |
children | c0a6f7c66719 |
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@29 | 8 #define SECONDS_PER_INTERFACE 10 |
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 |