Add option to execute unittest in building package
[platform/core/uifw/capi-ui-sticker.git] / include / sticker_error.h
1 /*
2  * Copyright (c) 2019 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 __TIZEN_UIX_STICKER_ERROR_H__
18 #define __TIZEN_UIX_STICKER_ERROR_H__
19
20 #include <tizen.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /**
27  * @file sticker_error.h
28  * @brief This file contains sticker error enumeration.
29  */
30
31 /**
32  * @addtogroup CAPI_UIX_STICKER_MODULE
33  * @{
34  */
35
36 /**
37  * @brief Enumeration for sticker function error.
38  *
39  * @since_tizen 5.5
40  */
41 typedef enum {
42     STICKER_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
43     STICKER_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
44     STICKER_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
45     STICKER_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
46     STICKER_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
47     STICKER_ERROR_OPERATION_FAILED = TIZEN_ERROR_STICKER | 0x0001, /**< Operation failed */
48     STICKER_ERROR_FILE_EXISTS = TIZEN_ERROR_FILE_EXISTS, /**< File exists */
49     STICKER_ERROR_NO_DATA = TIZEN_ERROR_NO_DATA, /**< No data available */
50     STICKER_ERROR_NO_SUCH_FILE = TIZEN_ERROR_NO_SUCH_FILE, /**< No such file */
51 } sticker_error_e;
52
53 /**
54  * @}
55  */
56 #ifdef __cplusplus
57 }
58 #endif
59
60 #endif /* __TIZEN_UIX_STICKER_ERROR_H__ */