• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 /*
3  * Copyright 2006 The Android Open Source Project
4  *
5  * Use of this source code is governed by a BSD-style license that can be
6  * found in the LICENSE file.
7  */
8 
9 
10 #ifndef SkApplication_DEFINED
11 #define SkApplication_DEFINED
12 
13 class SkOSWindow;
14 
15 extern SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv);
16 extern void application_init();
17 extern void application_term();
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 
30 #endif // SkApplication_DEFINED
31