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