equal
deleted
inserted
replaced
155 [testConnection release]; |
155 [testConnection release]; |
156 |
156 |
157 return ((isReachable && !needsConnection) || nonWiFi) ? testResult : NO; |
157 return ((isReachable && !needsConnection) || nonWiFi) ? testResult : NO; |
158 } |
158 } |
159 |
159 |
|
160 /* |
160 +(UIView *)mainSDLViewInstance { |
161 +(UIView *)mainSDLViewInstance { |
161 SDL_Window *window = HW_getSDLWindow(); |
162 SDL_Window *window = HW_getSDLWindow(); |
162 if (window == NULL) { |
163 if (window == NULL) { |
163 SDL_SetError("Window does not exist"); |
164 SDL_SetError("Window does not exist"); |
164 return nil; |
165 return nil; |
165 } |
166 } |
166 SDL_WindowData *data = (SDL_WindowData *)window->driverdata; |
167 SDL_WindowData *data = (SDL_WindowData *)window->driverdata; |
167 SDL_uikitview *view = data != NULL ? data->view : nil; |
168 SDL_uikitview *view = data != NULL ? data->view : nil; |
168 return view; |
169 return view; |
169 } |
170 } |
|
171 */ |
170 |
172 |
171 @end |
173 @end |