Mercurial > hg > soniczoomios
diff UsernameAlertViewController.mm @ 42:3d627dce8bf0
Tidied up startup logic.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 17 Apr 2013 13:44:05 +0100 |
parents | a42903c61558 |
children | 0d3a993405e4 |
line wrap: on
line diff
--- a/UsernameAlertViewController.mm Fri Apr 12 17:50:25 2013 +0100 +++ b/UsernameAlertViewController.mm Wed Apr 17 13:44:05 2013 +0100 @@ -32,7 +32,9 @@ } - +-(void)setAppRef:(id)theAppRef{ + self.theOFAppRef = theAppRef; +} - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ @@ -43,6 +45,7 @@ return; } eventLogger.setUsername([userName cStringUsingEncoding:NSASCIIStringEncoding]); + ((testApp *)self.theOFAppRef)->startTimedSession(); }