The license change version 1.0 to version 1.1
[platform/framework/web/web-provider.git] / src / API / web_provider_plugin_info.h
1 /*
2  * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *    Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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    web_provider_plugin_info.h
18  * @author  Yunchan Cho (yunchan.cho@samsung.com)
19  */
20 #ifndef WEB_PROVIDER_PLUGIN_INFO_H 
21 #define WEB_PROVIDER_PLUGIN_INFO_H
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 #define EXPORT_API __attribute__((visibility("default")))
28
29 struct _web_provider_plugin_info {
30     const char* type;
31     const char* path;
32     const char* service_boxid;
33     int box_scrollable;
34 };
35 typedef _web_provider_plugin_info web_provider_plugin_info;
36
37 EXPORT_API web_provider_plugin_info** web_provider_plugin_get_installed_list(
38                 int* count);
39 EXPORT_API void web_provider_plugin_release_installed_list(
40                 web_provider_plugin_info** info_list, 
41                 int count);
42 EXPORT_API int web_provider_plugin_get_box_scrollable(const char* plugin_type);
43
44 #ifdef __cplusplus
45 }
46 #endif
47 #endif //WEB_PROVIDER_PROVIDER_INFO_H