tizen 2.3.1 release
[framework/web/mobile/wrt.git] / src / wrt-launchpad-daemon / include / pre_launching.h
1 /*
2  * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *    Licensed under the Apache License, Version 2.0 (the "License");
5  *    you may not use this file except in compliance with the License.
6  *    You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *    Unless required by applicable law or agreed to in writing, software
11  *    distributed under the License is distributed on an "AS IS" BASIS,
12  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *    See the License for the specific language governing permissions and
14  *    limitations under the License.
15  */
16 /**
17  * @file    pre_launching.h
18  * @author  Tae-Jeong Lee (taejeong.lee@samsung.com)
19  * @version 1.0
20  * @brief   wrt pre-launching model api prototypes
21  */
22
23 #ifndef __PRE_LAUNCHING_H_
24 #define __PRE_LAUNCHING_H_
25
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif //__cplusplus
30
31 void pre_launch_webapps();
32 void add_to_pre_launching_info_list(const char* app_id, int pid);
33 int  re_pre_launch_by_pid(int pid, bool isCrashed);
34 int  is_pre_launching_appid(const char* app_id);
35
36 #ifdef __cplusplus
37 }
38 #endif //__cplusplus
39
40 #endif //__PRE_LAUNCHING_H_
41