Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ppapi / nacl_irt / plugin_main.h
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_NACL_IRT_PLUGIN_MAIN_H_
6 #define PPAPI_NACL_IRT_PLUGIN_MAIN_H_
7
8 #include "ppapi/nacl_irt/public/irt_ppapi.h"
9 #include "ppapi/proxy/ppapi_proxy_export.h"
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 // The entry point for the main thread of the PPAPI plugin process.
16 PPAPI_PROXY_EXPORT int PpapiPluginMain(void);
17
18 PPAPI_PROXY_EXPORT void PpapiPluginRegisterThreadCreator(
19     const struct PP_ThreadFunctions* new_funcs);
20
21 #ifdef __cplusplus
22 }
23 #endif
24
25 #endif  // PPAPI_NACL_IRT_PLUGIN_MAIN_H_