aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views/SkApplication.h
blob: 8f63539a309361bb19ea4786d70581188c3531c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

/*
 * Copyright 2006 The Android Open Source Project
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */


#ifndef SkApplication_DEFINED
#define SkApplication_DEFINED

class SkOSWindow;

extern SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv);
extern void application_init();
extern void application_term();

#ifdef SK_BUILD_FOR_IOS
enum IOS_launch_type {
    kError_iOSLaunchType = -1,
    kTool_iOSLaunchType = 0,
    kApplication__iOSLaunchType = 1
};

extern IOS_launch_type set_cmd_line_args(int argc, char *argv[],
                                         const char* resourceDir);
#endif

#endif // SkApplication_DEFINED