2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 * @author jihoon Chung (jihoon.Chung@samsung.com)
20 * @brief This file contains declarations of wrt api
24 * @defgroup wrt_engine_group WebRunTime engine Library
25 * @ingroup internet_FW
26 * Functions to APIs to access wrt-engine
39 #define WRT_DEPRECATED __attribute__((deprecated))
44 WRT_SUCCESS = 0, /*< Success*/
47 WRT_INSTALLER_ERROR_PACKAGE_NOT_FOUND, ///<
48 WRT_INSTALLER_ERROR_PACKAGE_INVALID, ///< invalid widget package
49 WRT_INSTALLER_ERROR_PACKAGE_LOWER_VERSION, ///< given version is lower than existing version
50 WRT_INSTALLER_ERROR_MANIFEST_NOT_FOUND, ///<
51 WRT_INSTALLER_ERROR_MANIFEST_INVALID, ///<
52 WRT_INSTALLER_CONFIG_NOT_FOUND, ///< couldn't find config.xml
54 WRT_INSTALLER_ERROR_CONFIG_INVALID, ///< invalid config.xml
55 WRT_INSTALLER_ERROR_SIGNATURE_NOT_FOUND, ///< signature file not exist.
56 WRT_INSTALLER_ERROR_SIGNATURE_INVALID, ///< invalid signature file
57 WRT_INSTALLER_ERROR_SIGNATURE_VERIFICATION_FAILED, ///< failure in verificate
59 WRT_INSTALLER_ERROR_ROOT_CERTIFICATE_NOT_FOUND, ///< couldn't find root certificate.
60 WRT_INSTALLER_ERROR_CERTIFICATION_INVAID, ///< invalid certification
61 WRT_INSTALLER_ERROR_CERTIFICATE_CHAIN_VERIFICATION_FAILED, ///< failure in verificate
62 ///< certification chain.
63 WRT_INSTALLER_ERROR_CERTIFICATE_EXPIRED, ///< expire cerification.
64 WRT_INSTALLER_ERROR_INVALID_PRIVILEGE, ///< invalid privilege.
65 WRT_INSTALLER_ERROR_MENU_ICON_NOT_FOUND, ///<
66 WRT_INSTALLER_ERROR_FATAL_ERROR, ///< failure in db operation or file opertion..
67 WRT_INSTALLER_ERROR_OUT_OF_STORAGE, ///< failure in shortage of memory
68 WRT_INSTALLER_ERROR_OUT_OF_MEMORY, ///< failure in shortage of RAM
70 /* wrt-installer error */
71 /* 121-140 : reserved for Web installer */
74 WRT_INSTALLER_ERROR_PACKAGE_ALREADY_INSTALLED = 121,
75 WRT_INSTALLER_ERROR_ACE_CHECK_FAILED,
76 WRT_INSTALLER_ERROR_MANIFEST_CREATE_FAILED, ///<
77 WRT_INSTALLER_ERROR_ENCRYPTION_FAILED, ///< Failure in reousrce encrypttion
78 WRT_INSTALLER_ERROR_INSTALL_OSP_SERVCIE, ///< Failure in installing osp service
79 WRT_INSTALLER_ERROR_PLUGIN_INSTALLATION_FAILED,
80 WRT_INSTALLER_ERROR_UNINSTALLATION_FAILED,
82 WRT_INSTALLER_ERROR_UNKNOWN, ///< do not use this error code.
90 #endif /* WRT_TYPE_H_ */