[Release] livebox.web-provider-1.9
[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.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://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 };
34 typedef _web_provider_plugin_info web_provider_plugin_info;
35
36 EXPORT_API web_provider_plugin_info** web_provider_plugin_get_installed_list(
37                 int* count);
38 EXPORT_API void web_provider_plugin_release_installed_list(
39                 web_provider_plugin_info** info_list, 
40                 int count);
41
42 #ifdef __cplusplus
43 }
44 #endif
45 #endif //WEB_PROVIDER_PROVIDER_INFO_H