tizen 2.4 release
[framework/location/maps-plugin-here.git] / src / here / here_types.h
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
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 #ifndef _LOCATION_HERE_TYPES_H_
18 #define _LOCATION_HERE_TYPES_H_
19
20 #include <glib.h>
21
22 typedef enum {
23     HERE_ERROR_NONE = 0,                /**< Successful */
24     HERE_ERROR_PERMISSION_DENIED,       /**< Permission Denied */
25     HERE_ERROR_OUT_OF_MEMORY,           /**< Out of memory */
26     HERE_ERROR_INVALID_PARAMETER,       /**< Invalid parameter */
27     HERE_ERROR_NOT_SUPPORTED,           /**< Not supported */
28     HERE_ERROR_CONNECTION_TIME_OUT,     /**< Timeout error, no answer */
29     HERE_ERROR_NETWORK_UNREACHABLE,     /**< Network unavailable */
30     HERE_ERROR_INVALID_OPERATION,       /**< Opeartion is not valid */
31     HERE_ERROR_KEY_NOT_AVAILABLE,       /**< Invalid key */
32     HERE_ERROR_RESOURCE_BUSY,           /**< Resource busy */
33     HERE_ERROR_CANCELED,                /**< Service canceled */
34     HERE_ERROR_UNKNOWN,                 /**< Unknown error */
35     HERE_ERROR_SERVICE_NOT_AVAILABLE,   /**< Service unavailabe*/
36     HERE_ERROR_NOT_FOUND,               /**< Result not found */
37 } here_error_e;
38
39 #endif //_LOCATION_HERE_TYPES_H_