equal
deleted
inserted
replaced
183 [schemeFile release]; |
183 [schemeFile release]; |
184 [theScheme release]; |
184 [theScheme release]; |
185 } |
185 } |
186 |
186 |
187 BOOL inline rotationManager (UIInterfaceOrientation interfaceOrientation) { |
187 BOOL inline rotationManager (UIInterfaceOrientation interfaceOrientation) { |
188 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight) || |
188 if (IS_IPAD()) |
189 (interfaceOrientation == UIInterfaceOrientationLandscapeLeft); |
189 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight) || |
|
190 (interfaceOrientation == UIInterfaceOrientationLandscapeLeft); |
|
191 else |
|
192 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); |
190 } |
193 } |
191 |
194 |
192 NSInteger inline randomPort () { |
195 NSInteger inline randomPort () { |
193 srandom(time(NULL)); |
196 srandom(time(NULL)); |
194 NSInteger res = (random() % 64511) + 1024; |
197 NSInteger res = (random() % 64511) + 1024; |