2 * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://floralicense.org/license/
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.
17 * @file web_provider_livebox_info.h
18 * @author Yunchan Cho (yunchan.cho@samsung.com)
20 #ifndef WEB_PROVIDER_LIVEBOX_INFO_H
21 #define WEB_PROVIDER_LIVEBOX_INFO_H
27 #define EXPORT_API __attribute__((visibility("default")))
28 #define DEPRECATED_API __attribute__((visibility("default"))) __attribute__((deprecated))
30 /* TODO doxygen comments are needed to each exported API */
32 EXPORT_API const char* web_provider_livebox_get_default_type();
33 EXPORT_API const char* web_provider_livebox_get_box_type(const char* box_id);
34 EXPORT_API const char* web_provider_livebox_get_app_id(const char* box_id);
35 EXPORT_API int web_provider_livebox_get_auto_launch(const char* box_id);
36 EXPORT_API int web_provider_livebox_insert_box_info(
41 DEPRECATED_API int web_provider_livebox_insert_box_type(
44 const char* box_type);
45 EXPORT_API int web_provider_livebox_delete_by_box_id(const char* box_id);
46 EXPORT_API int web_provider_livebox_delete_by_app_id(const char* app_id);
47 EXPORT_API int web_provider_livebox_delete_by_type(const char* type);
49 DEPRECATED_API const char* web_provider_info_get_default_type();
50 DEPRECATED_API const char* web_provider_info_get_box_type(const char* box_id);
51 DEPRECATED_API int web_provider_info_insert_box_type(
54 const char* box_type);
55 DEPRECATED_API int web_provider_info_delete_by_box_id(const char* box_id);
56 DEPRECATED_API int web_provider_info_delete_by_app_id(const char* app_id);
57 DEPRECATED_API int web_provider_info_delete_by_type(const char* type);
62 #endif //WEB_PROVIDER_LIVEBOX_INFO_H