Mercurial > hg > soniczoomios
comparison 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 |
comparison
equal
deleted
inserted
replaced
28:e2c62db1e265 | 29:fabb3a5cdfc9 |
---|---|
1 // | |
2 // TimedSessionController.h | |
3 // sonicZoom | |
4 // | |
5 // Created by Robert Tubb on 18/02/2013. | |
6 // | |
7 // | |
8 #define SECONDS_PER_INTERFACE 10 | |
9 #import <Foundation/Foundation.h> | |
10 | |
11 | |
12 @interface TimedSessionController : NSObject <UIAlertViewDelegate> | |
13 @property (nonatomic, assign) id theOFAppRef; | |
14 @property (nonatomic,strong) NSTimer * theCurrentTimer; | |
15 | |
16 - (void)setAppRef:(id)theOFApp; | |
17 -(void)resetTime:(int)newTime; // if we want to put ourselves somewhen | |
18 -(void)startTimer; // go from start | |
19 -(void)cancelTimers; // stop the whole thing | |
20 -(void)showNextPrompt; | |
21 | |
22 @end |