diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-10-24 16:22:33 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-10-24 16:22:33 +0900 |
commit | edd7331a1ba3ca8a91cafdd7a2daf143fa879bb3 (patch) | |
tree | be035aa70564041e0510c27e5a29fbc12c60b4e2 | |
parent | d5560c6e7dcb2e18070e1927ab149f829b4d3501 (diff) | |
download | common-accepted/tizen_2.4_mobile.tar.gz common-accepted/tizen_2.4_mobile.tar.bz2 common-accepted/tizen_2.4_mobile.zip |
tizen 2.4 releasetizen_2.4_mobile_releasesubmit/tizen_2.4/20151028.063524accepted/tizen/2.4/mobile/20151029.034900tizen_2.4accepted/tizen_2.4_mobile
-rwxr-xr-x | include/tizen_error.h | 15 | ||||
-rwxr-xr-x | packaging/capi-base-common.spec | 6 | ||||
-rwxr-xr-x | src/tizen_error.c | 104 |
3 files changed, 100 insertions, 25 deletions
diff --git a/include/tizen_error.h b/include/tizen_error.h index cbd7bf5..c77ef36 100755 --- a/include/tizen_error.h +++ b/include/tizen_error.h @@ -102,8 +102,6 @@ extern "C" { #define TIZEN_ERROR_PACKAGE_MANAGER -0x01150000 /* Tizen Shortcut Error */ #define TIZEN_ERROR_SHORTCUT -0x01160000 -/* Tizen UI Gadget Error */ -#define TIZEN_ERROR_UI_GADGET -0x01170000 /* Tizen Bundle Error */ #define TIZEN_ERROR_BUNDLE -0x01180000 /* Tizen Data Control Error */ @@ -150,6 +148,8 @@ extern "C" { #define TIZEN_ERROR_MEDIACODEC -0x019B0000 /* Tizen Metadata Editor Error */ #define TIZEN_ERROR_METADATA_EDITOR -0x019C0000 +/* Tizen Media Vision Error */ +#define TIZEN_ERROR_MEDIA_VISION -0x019D0000 /* Tizen Bluetooth Error */ #define TIZEN_ERROR_BLUETOOTH -0x01C00000 /* Tizen Connection Error */ @@ -200,6 +200,8 @@ extern "C" { #define TIZEN_ERROR_CONTEXT -0x02480000 /* Tizen Health Error */ #define TIZEN_ERROR_HEALTH -0x02490000 +/* Tizen Feedback Error */ +#define TIZEN_ERROR_FEEDBACK -0x024A0000 /* Tizen Telephony Error */ #define TIZEN_ERROR_TELEPHONY -0x02600000 /* Tizen EFL Util Error */ @@ -210,6 +212,12 @@ extern "C" { #define TIZEN_ERROR_NATIVE_BUFFER -0x02820000 /* Tizen Buffer Manager Error */ #define TIZEN_ERROR_TBM -0x02830000 +/* Tizen EOM Error */ +#define TIZEN_ERROR_EOM -0x02840000 +/* Tizen PANEL Error */ +#define TIZEN_ERROR_PANEL -0x02850000 +/* Tizen TZSH Error */ +#define TIZEN_ERROR_TZSH -0x02860000 /* Tizen Download Error */ #define TIZEN_ERROR_DOWNLOAD -0x02A00000 /* Tizen WebView Error */ @@ -218,6 +226,8 @@ extern "C" { #define TIZEN_ERROR_LOCATION_MANAGER -0x02C00000 /* Tizen Geofence Manager Error */ #define TIZEN_ERROR_GEOFENCE_MANAGER -0x02C10000 +/* Tizen Maps Service Error */ +#define TIZEN_ERROR_MAPS_SERVICE -0x02C20000 /* Tizen STT Error */ #define TIZEN_ERROR_STT -0x02F00000 /* Tizen TTS Error */ @@ -232,7 +242,6 @@ extern "C" { #define TIZEN_ERROR_VOICE_CONTROL -0x02F50000 - /** * @brief Enumeration for tizen errors. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index 174e695..df9bf33 100755 --- a/packaging/capi-base-common.spec +++ b/packaging/capi-base-common.spec @@ -1,7 +1,7 @@ Name: capi-base-common Summary: Common header files of Tizen Native API -Version: 0.1.9 -Release: 0 +Version: 0.2.2 +Release: 1 Group: Base License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -14,7 +14,7 @@ Common header files of Tizen Native API %package devel License: Apache-2.0 -Summary: Common header files of Tizen Native API (Development) +Summary: Common header files of Tizen Native API (Development) Group: Base Requires: %{name} = %{version}-%{release} diff --git a/src/tizen_error.c b/src/tizen_error.c index 7027c05..d6bb848 100755 --- a/src/tizen_error.c +++ b/src/tizen_error.c @@ -56,12 +56,13 @@ static err_info err_list[] = ERR_ENTRY("APP_ERROR_INVALID_CONTEXT",TIZEN_ERROR_APPLICATION | 0x01,"Invalid application context"), ERR_ENTRY("ALARM_ERROR_INVALID_TIME",TIZEN_ERROR_APPLICATION | 0x05,"Invalid time"), ERR_ENTRY("ALARM_ERROR_INVALID_DATE",TIZEN_ERROR_APPLICATION | 0x06,"Invalid date"), - ERR_ENTRY("ALARM_ERROR_CONNECTION_FAIL",TIZEN_ERROR_APPLICATION | 0x07,"The alarm service connection failed"), + ERR_ENTRY("ALARM_ERROR_CONNECTION_FAIL",TIZEN_ERROR_APPLICATION | 0x07,"The alarm service connection failed"), + ERR_ENTRY("ALARM_ERROR_NOT_PERMITTED_APP",TIZEN_ERROR_APPLICATION | 0x08,"Application is not permitted"), ERR_ENTRY("APP_CONTROL_ERROR_APP_NOT_FOUND",TIZEN_ERROR_APPLICATION | 0x21,"The application is not found"), ERR_ENTRY("APP_CONTROL_ERROR_INVALID_DATA_TYPE",TIZEN_ERROR_APPLICATION | 0x22,"Invalid data type"), ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_REJECTED",TIZEN_ERROR_APPLICATION | 0x23,"The application cannot be launched now"), ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_FAILED",TIZEN_ERROR_APPLICATION | 0x24,"Internal launch error"), - ERR_ENTRY("PREFERENCE_ERROR_NO_KEY",TIZEN_ERROR_APPLICATION | 0x30,"Required key not available"), + ERR_ENTRY("PREFERENCE_ERROR_NO_KEY",TIZEN_ERROR_APPLICATION | 0x30,"Required key not available"), #endif #if defined (TIZEN_ERROR_APPLICATION_MANAGER) ERR_ENTRY("APP_MANAGER_ERROR_NO_SUCH_APP",TIZEN_ERROR_APPLICATION_MANAGER | 0x01 ,"No such application"), @@ -131,7 +132,7 @@ static err_info err_list[] = ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FORMAT", TIZEN_ERROR_UTILITY_ICU | 0x11 ,"Conversion table file found, but corrupted"), ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FILE", TIZEN_ERROR_UTILITY_ICU | 0x12 ,"Conversion table file not found"), ERR_ENTRY("I18N_ERROR_ILLECAL_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x13 ,"ISO-2022 illlegal escape sequence"), - ERR_ENTRY("I18N_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x14 ,"ISO-2022 unsupported escape sequence"), + ERR_ENTRY("I18N_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x14 ,"ISO-2022 unsupported escape sequence"), ERR_ENTRY("I18N_ERROR_NO_SPACE_AVAILABLE", TIZEN_ERROR_UTILITY_ICU | 0x15 ,"No space available for in-buffer expansion for Arabic shaping"), ERR_ENTRY("I18N_ERROR_CE_NOT_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x16 ,"Currently used only while setting variable top, but can be used generally"), ERR_ENTRY("I18N_ERROR_PRIMARY_TOO_LONG", TIZEN_ERROR_UTILITY_ICU | 0x17 ,"User tried to set variable top to a primary that is longer than two bytes"), @@ -236,6 +237,8 @@ static err_info err_list[] = #if defined (TIZEN_ERROR_RADIO) ERR_ENTRY("RADIO_ERROR_INVALID_STATE", TIZEN_ERROR_RADIO | 0x01 ,"Invalid state"), ERR_ENTRY("RADIO_ERROR_SOUND_POLICY", TIZEN_ERROR_RADIO | 0x02 ,"Sound policy error"), + ERR_ENTRY("RADIO_ERROR_NO_ANTENNA", TIZEN_ERROR_RADIO | 0x03 ,"No Antenna error"), + #endif #if defined (TIZEN_ERROR_MEDIACODEC) ERR_ENTRY("MEDIACODEC_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIACODEC | 0x01 ,"Invalid state"), @@ -250,6 +253,8 @@ static err_info err_list[] = ERR_ENTRY("MEDIACODEC_ERROR_STREAM_NOT_FOUND", TIZEN_ERROR_MEDIACODEC | 0x0a ,"Cannot find stream"), ERR_ENTRY("MEDIACODEC_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_MEDIACODEC | 0x0b ,"Not supported format "), ERR_ENTRY("MEDIACODEC_ERROR_BUFFER_NOT_AVAILABLE", TIZEN_ERROR_MEDIACODEC | 0x0c ,"Not available buffer"), + ERR_ENTRY("MEDIACODEC_ERROR_OVERFLOW_INBUFFER", TIZEN_ERROR_MEDIACODEC | 0x0d ,"Overflow input buffer"), + ERR_ENTRY("MEDIACODEC_ERROR_RESOURCE_OVERLOADED", TIZEN_ERROR_MEDIACODEC | 0x0e ,"Exceed the instance limit"), #endif #if defined (TIZEN_ERROR_BLUETOOTH) ERR_ENTRY("BT_ERROR_NOT_INITIALIZED", TIZEN_ERROR_BLUETOOTH | 0x0101 ,"Local adapter not initialized"), @@ -294,10 +299,6 @@ static err_info err_list[] = ERR_ENTRY("NFC_ERROR_TAG_NOT_SUPPORTED",TIZEN_ERROR_NFC|0x0f ,"Tag is not supported"), ERR_ENTRY("NFC_ERROR_AID_ALREADY_REGISTERED",TIZEN_ERROR_NFC | 0x10 ,"AID already registered"), #endif -#if defined (TIZEN_ERROR_TETHERING) - ERR_ENTRY("TETHERING_ERROR_NOT_ENABLED",TIZEN_ERROR_TETHERING | 0x0501 ,"Not enabled"), - ERR_ENTRY("TETHERING_ERROR_OPERATION_FAILED",TIZEN_ERROR_TETHERING | 0x0502 ,"Operation failed"), -#endif #if defined (TIZEN_ERROR_WIFI) ERR_ENTRY("WIFI_ERROR_OPERATION_FAILED",TIZEN_ERROR_WIFI | 0x0301 ,"Operation failed"), ERR_ENTRY("WIFI_ERROR_NO_CONNECTION",TIZEN_ERROR_WIFI | 0x0302 ,"There is no connected AP"), @@ -355,7 +356,7 @@ static err_info err_list[] = ERR_ENTRY("CONTACTS_ERROR_SYSTEM",TIZEN_ERROR_CONTACTS | 0xEF ,"Internal system module error"), ERR_ENTRY("CONTACTS_ERROR_INTERNAL",TIZEN_ERROR_CONTACTS | 0xFF ,"Implementation Error, Temporary Use"), #endif -#if defined (TIZEN_ERROR_STORAGE)//issue : TIZEN_ERROR_SYSTEM_CLASS +#if defined (TIZEN_ERROR_STORAGE) ERR_ENTRY("STORAGE_ERROR_OPERATION_FAILED",TIZEN_ERROR_SYSTEM_CLASS | 0x12 ,"Operation failed"), #endif #if defined (TIZEN_ERROR_DEVICE) @@ -382,7 +383,12 @@ static err_info err_list[] = #if defined (TIZEN_ERROR_CONTEXT) ERR_ENTRY("ACTIVITY_ERROR_ALREADY_STARTED",TIZEN_ERROR_CONTEXT | 0x01 ,"Recognition is already started"), ERR_ENTRY("ACTIVITY_ERROR_NOT_STARTED",TIZEN_ERROR_CONTEXT | 0x02 ,"Recognition is not started"), - ERR_ENTRY("ACTIVITY_ERROR_OPERATION_FAILED",TIZEN_ERROR_CONTEXT | 0x04 ,"Operation failed because of a system error"), + ERR_ENTRY("CONTEXT_HISTORY_ERROR_OUT_OF_RANGE",TIZEN_ERROR_CONTEXT | 0x03 ,"Out of range"), + ERR_ENTRY("ACTIVITY_ERROR_OPERATION_FAILED",TIZEN_ERROR_CONTEXT | 0x04 ,"Operation failed"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_ENABLED",TIZEN_ERROR_CONTEXT | 0x05 ,"Rule is enabled"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED",TIZEN_ERROR_CONTEXT | 0x06 ,"Rule is not enabled"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_INVALID_RULE",TIZEN_ERROR_CONTEXT | 0x07 ,"Invalid rule"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST",TIZEN_ERROR_CONTEXT | 0x08 ,"Rule does not exist"), #endif #if defined (TIZEN_ERROR_TELEPHONY) ERR_ENTRY("TELEPHONY_ERROR_OPERATION_FAILED",TIZEN_ERROR_TELEPHONY | 0x0001 ,"Operation failed"), @@ -390,10 +396,8 @@ static err_info err_list[] = #endif #if defined (TIZEN_ERROR_EFL_UTIL) ERR_ENTRY("EFL_UTIL_ERROR_NOT_SUPPORTED_WINDOW_TYPE",TIZEN_ERROR_EFL_UTIL | 0x01 ,"Window type not supported"), -#endif -#if defined (TIZEN_ERROR_UTILX) -#endif -#if defined (TIZEN_ERROR_NATIVE_BUFFER) + ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_INIT_FAIL",TIZEN_ERROR_EFL_UTIL | 0x02 ,"Screenshot initialization fail"), + ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_EXECUTION_FAIL",TIZEN_ERROR_EFL_UTIL | 0x03 ,"Screenshot execution fail"), #endif #if defined (TIZEN_ERROR_TBM) #endif @@ -450,11 +454,6 @@ static err_info err_list[] = ERR_ENTRY("SMARTCARD_ERROR_CHANNEL_NOT_AVAILABLE",TIZEN_ERROR_SMARTCARD | 0x06 ,"No channel available"), ERR_ENTRY("SMARTCARD_ERROR_NOT_INITIALIZED",TIZEN_ERROR_SMARTCARD | 0x07 ,"Smartcard service not initialized"), #endif -#if defined (TIZEN_ERROR_HEALTH) - ERR_ENTRY("HEALTH_ERROR_DATA_TYPE_NOT_FOUND",TIZEN_ERROR_HEALTH | 0x01 ,"Maifest for the data type specified not found"), - ERR_ENTRY("HEALTH_ERROR_MANDATORY_DATA_REQURIED",TIZEN_ERROR_HEALTH | 0x02 ,"Mandatory property is missing"), - ERR_ENTRY("HEALTH_ERROR_INVALID_DATA",TIZEN_ERROR_HEALTH | 0x03 ,"Data is out of range or invalid type"), -#endif #if defined (TIZEN_ERROR_VOICE_CONTROL) ERR_ENTRY("VC_ERROR_INVALID_STATE",TIZEN_ERROR_VOICE_CONTROL | 0x011 ,"Invalid state"), ERR_ENTRY("VC_ERROR_INVALID_LANGUAGE",TIZEN_ERROR_VOICE_CONTROL | 0x012 ,"Invalid language"), @@ -469,6 +468,14 @@ static err_info err_list[] = ERR_ENTRY("VC_ELM_ERROR_OPERATION_FAILED",TIZEN_ERROR_VOICE_CONTROL | 0x023 ,"Operation failed"), ERR_ENTRY("VC_ELM_ERROR_OPERATION_REJECTED",TIZEN_ERROR_VOICE_CONTROL | 0x024 ,"Operation rejected"), #endif +#if defined (TIZEN_ERROR_FEEDBACK) + ERR_ENTRY("FEEDBACK_ERROR_NOT_INITIALIZED",TIZEN_ERROR_FEEDBACK | 0x01 ,"Not initialized"), +#endif +#if defined (TIZEN_ERROR_EOM) + ERR_ENTRY("EOM_ERROR_CONNECTION_FAILURE",TIZEN_ERROR_EOM | 0x01 ,"Connection failure"), + ERR_ENTRY("EOM_ERROR_MESSAGE_SENDING_FAILURE",TIZEN_ERROR_EOM | 0x02 ,"Message sending failure"), + ERR_ENTRY("EOM_ERROR_MESSAGE_OPERATION_FAILURE",TIZEN_ERROR_EOM | 0x03 ,"Message operation failure"), +#endif #if defined (TIZEN_ERROR_WIDGET) ERR_ENTRY("WIDGET_ERROR_FAULT",TIZEN_ERROR_WIDGET | 0x0001 ,"Fault - Unable to recover from the error"), ERR_ENTRY("WIDGET_ERROR_ALREADY_EXIST",TIZEN_ERROR_WIDGET | 0x0002 ,"Already exists"), @@ -476,6 +483,65 @@ static err_info err_list[] = ERR_ENTRY("WIDGET_ERROR_NOT_EXIST",TIZEN_ERROR_WIDGET | 0x0008 ,"Not exists"), ERR_ENTRY("WIDGET_ERROR_DISABLED",TIZEN_ERROR_WIDGET | 0x00010 ,"Disabled"), #endif +#if defined (TIZEN_ERROR_MINICONTROL) + ERR_ENTRY("MINICONTROL_ERROR_IPC_FAILURE",TIZEN_ERROR_MINICONTROL | 0x02 ," IPC error"), + ERR_ENTRY("MINICONTROL_ERROR_ELM_FAILURE",TIZEN_ERROR_MINICONTROL | 0x03 ," Some error occued on elementary"), +#endif +#if defined (TIZEN_ERROR_IME) + ERR_ENTRY("IME_ERROR_NO_CALLBACK_FUNCTION",TIZEN_ERROR_IME | 0x0001 ,"Necessary callback function is not set"), + ERR_ENTRY("IME_ERROR_NOT_RUNNING",TIZEN_ERROR_IME | 0x0002 ,"IME main loop isn't started yet "), + ERR_ENTRY("IME_ERROR_OPERATION_FAILED",TIZEN_ERROR_IME | 0x0003 ,"Operation failed"), + ERR_ENTRY("IME_MANAGER_ERROR_OPERATION_FAILED",TIZEN_ERROR_IME | 0x0010 ,"Operation failed"), +#endif +#if defined (TIZEN_ERROR_MAPS_SERVICE) + ERR_ENTRY("MAPS_ERROR_SERVICE_NOT_AVAILABLE",TIZEN_ERROR_MAPS_SERVICE | 0x01 ,"Service unavailable"), + ERR_ENTRY("MAPS_ERROR_NOT_FOUND",TIZEN_ERROR_MAPS_SERVICE | 0x02 ,"Result not found "), +#endif +#if defined (TIZEN_ERROR_GEOFENCE_MANAGER) + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_NOT_INITIALIZED",TIZEN_ERROR_GEOFENCE_MANAGER | 0x01 ,"Geofence Manager is not initialized"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_INVALID_ID",TIZEN_ERROR_GEOFENCE_MANAGER | 0x02 ,"Invalid Geofence ID"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_EXCEPTION",TIZEN_ERROR_GEOFENCE_MANAGER | 0x03 ,"exception is occurred"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_ALREADY_STARTED",TIZEN_ERROR_GEOFENCE_MANAGER | 0x04 ,"Geofence is already started"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_TOO_MANY_GEOFENCE",TIZEN_ERROR_GEOFENCE_MANAGER | 0x05 ,"Too many Geofence"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_IPC",TIZEN_ERROR_GEOFENCE_MANAGER | 0x06 ,"Error occurred in GPS/Wi-Fi/BT"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_DATABASE",TIZEN_ERROR_GEOFENCE_MANAGER | 0x07 ,"DB error occurred in the server side"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_PLACE_ACCESS_DENIED",TIZEN_ERROR_GEOFENCE_MANAGER | 0x08 ,"Access to specified place is denied"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_GEOFENCE_ACCESS_DENIED",TIZEN_ERROR_GEOFENCE_MANAGER | 0x09 ,"Access to specified geofence is denied"), +#endif +#if defined (TIZEN_ERROR_SYNC_MANAGER) + ERR_ENTRY("SYNC_ERROR_SYSTEM", TIZEN_ERROR_SYNC_MANAGER | 0x01 ,"System error"), +#endif +#if defined (TIZEN_ERROR_SERVICE_ADAPTOR) + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_IPC_UNSTABLE",TIZEN_ERROR_SERVICE_ADAPTOR | 0x01 ,"IPC Connection unstabled"), + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED",TIZEN_ERROR_SERVICE_ADAPTOR | 0x02 ,"The error occured from Plugin"), + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_NOT_AUTHORIZED",TIZEN_ERROR_SERVICE_ADAPTOR | 0x03 ,"Need Autholization "), + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_INVALID_STATE",TIZEN_ERROR_SERVICE_ADAPTOR | 0x04 ,"The handle state is invalid for processing API"), +#endif +#if defined (TIZEN_ERROR_ACCOUNT_OAUTH) + ERR_ENTRY("OAUTH2_ERROR_PARSE_FAILED",TIZEN_ERROR_ACCOUNT_OAUTH | 0x01 ,"Response parse failed"), + ERR_ENTRY("OAUTH2_ERROR_NETWORK_ERROR",TIZEN_ERROR_ACCOUNT_OAUTH | 0x02 ,"Network error"), + ERR_ENTRY("OAUTH2_ERROR_SERVER",TIZEN_ERROR_ACCOUNT_OAUTH | 0x03 ,"Server error"), + ERR_ENTRY("OAUTH2_ERROR_USER_CANCELLED",TIZEN_ERROR_ACCOUNT_OAUTH | 0x04 ,"User cancelled the operation"), + ERR_ENTRY("OAUTH2_ERROR_VALUE_NOT_FOUND",TIZEN_ERROR_ACCOUNT_OAUTH | 0x05 ,"Value not found"), +#endif +#if defined (TIZEN_ERROR_MEDIA_VISION) + ERR_ENTRY("MEDIA_VISION_ERROR_NOT_SUPPORTED_FORMAT",TIZEN_ERROR_MEDIA_VISION | 0x01 ,"Not supported format"), + ERR_ENTRY("MEDIA_VISION_ERROR_INTERNAL",TIZEN_ERROR_MEDIA_VISION | 0x02 ,"Internal error"), + ERR_ENTRY("MEDIA_VISION_ERROR_INVALID_DATA",TIZEN_ERROR_MEDIA_VISION | 0x03 ,"Invalid data"), +#endif +#if defined (TIZEN_ERROR_METADATA_EDITOR) + ERR_ENTRY("METADATA_EDITOR_ERROR_OPERATION_FAILED",TIZEN_ERROR_METADATA_EDITOR | 0x01 ,"Invalid internal operation"), +#endif +#if defined (TIZEN_ERROR_TZSH) + ERR_ENTRY("TZSH_ERROR_SERVICE_NOT_EXSITED",TIZEN_ERROR_TZSH | 0x01 ,"Service not exist"), +#endif +#if defined (TIZEN_ERROR_PANEL) + ERR_ENTRY("SHARE_PANEL_ERROR_ALREADY_EXISTS",TIZEN_ERROR_PANEL | 0x01 ,"There is already a panel in the conformant"), + ERR_ENTRY("SHARE_PANEL_ERROR_NOT_INITIALIZED",TIZEN_ERROR_PANEL | 0x02 ,"The panel is not initialized yet"), + ERR_ENTRY("SHARE_PANEL_ERROR_INVALID_OPERATION",TIZEN_ERROR_PANEL | 0x04 ,"Invalid operation"), + ERR_ENTRY("ATTACH_PANEL_ERROR_ALREADY_DESTROYED",TIZEN_ERROR_PANEL | 0x05 ,"The panel is already removed"), +#endif + {0,NULL,NULL} }; @@ -483,7 +549,7 @@ static __thread int tizen_last_error = TIZEN_ERROR_NONE; int get_last_result(void) { - return tizen_last_error; + return tizen_last_error; } void set_last_result(int err) |