| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkApplication_DEFINED | 10 #ifndef SkApplication_DEFINED |
| 11 #define SkApplication_DEFINED | 11 #define SkApplication_DEFINED |
| 12 | 12 |
| 13 class SkOSWindow; | 13 class SkOSWindow; |
| 14 | 14 |
| 15 extern SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv); | 15 extern SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv); |
| 16 extern void application_init(); | 16 extern void application_init(); |
| 17 extern void application_term(); | 17 extern void application_term(); |
| 18 | 18 |
| 19 #ifdef SK_BUILD_FOR_IOS |
| 20 enum IOS_launch_type { |
| 21 kError_iOSLaunchType = -1, |
| 22 kTool_iOSLaunchType = 0, |
| 23 kApplication__iOSLaunchType = 1 |
| 24 }; |
| 25 |
| 26 extern IOS_launch_type set_cmd_line_args(int argc, char *argv[], |
| 27 const char* resourceDir); |
| 28 #endif |
| 29 |
| 19 #endif // SkApplication_DEFINED | 30 #endif // SkApplication_DEFINED |
| OLD | NEW |