Fix build error in sticker-receiver
[platform/core/uifw/capi-ui-sticker.git] / server / stickerd_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_STICKERD_ERROR_H__
18 #define __TIZEN_UIX_STICKERD_ERROR_H__
19
20 /**
21  * @file sticker_error.h
22  * @brief This file contains sticker error enumeration.
23  */
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 /**
30  * @brief Enumeration for sticker server error.
31  */
32 enum stickerd_server_error {
33     STICKERD_SERVER_ERROR_NONE,
34     STICKERD_SERVER_ERROR_INVALID_PARAMETER,
35     STICKERD_SERVER_ERROR_PERMISSION_DENIED,
36     STICKERD_SERVER_ERROR_OUT_OF_MEMORY,
37     STICKERD_SERVER_ERROR_SERVICE_NOT_READY,
38     STICKERD_SERVER_ERROR_OPERATION_FAILED,
39     STICKERD_SERVER_ERROR_IO_ERROR,
40     STICKERD_SERVER_ERROR_DB_FAILED,
41     STICKERD_SERVER_ERROR_FILE_EXISTS,
42     STICKERD_SERVER_ERROR_NO_SUCH_FILE,
43 };
44
45 /**
46  * @}
47  */
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #endif /* __TIZEN_UIX_STICKERD_ERROR_H__ */