Mercurial > hg > soniczoomios
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TimedSessionController.h Fri Feb 22 17:41:38 2013 +0000 @@ -0,0 +1,22 @@ +// +// TimedSessionController.h +// sonicZoom +// +// Created by Robert Tubb on 18/02/2013. +// +// +#define SECONDS_PER_INTERFACE 10 +#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