comparison UsernameAlertViewController.mm @ 9:d5e928887f51

More refactoring. Mode for Synth value changes only sent to PD on triggering sound.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Fri, 17 Oct 2014 17:50:41 +0100
parents 851833072cf1
children 75202498bee9
comparison
equal deleted inserted replaced
8:d59de9fd3496 9:d5e928887f51
60 if ([userName isEqualToString:@""]){ 60 if ([userName isEqualToString:@""]){
61 [self showUserNamePrompt]; 61 [self showUserNamePrompt];
62 62
63 }else{ 63 }else{
64 eventLogger.setUsername([userName cStringUsingEncoding:NSASCIIStringEncoding]); 64 eventLogger.setUsername([userName cStringUsingEncoding:NSASCIIStringEncoding]);
65 ((testApp *)self.theOFAppRef)->startTheTests(); 65 ((testApp *)self.theOFAppRef)->usernameEntered();
66 66
67 } 67 }
68 [self.alert dismissWithClickedButtonIndex:self.alert.firstOtherButtonIndex animated:YES]; 68 [self.alert dismissWithClickedButtonIndex:self.alert.firstOtherButtonIndex animated:YES];
69 return YES; 69 return YES;
70 } 70 }