upload tizen1.0 source
[framework/system/sync-agent.git] / framework / include / agent-framework / Account / Account_Error.h
1 /*
2  * sync-agent-framework
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: JuHak Park <juhaki.park@samsung.com>,
7  *          JuneHyuk Lee <junhyuk7.lee@samsung.com>,
8  *          SunBong Ha <sunbong.ha@samsung.com>
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  */
23
24
25
26
27 /*
28  * For any sort of issue you concern as to this software,
29  * you may use following point of contact.
30  * All resources contributed on this software
31  * are orinigally written by S-Core Inc., a member of Samsung Group.
32  *
33  * JungWook Ryu <jungwook.ryu@samsung.com>
34  */
35
36 #ifndef ACCOUNT_ERROR_H_
37 #define ACCOUNT_ERROR_H_
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif                          /* __cplusplus */
42
43 /**
44  * @file        Account_Error.h
45  * @brief       Definition of framework error codes for Account module
46  */
47
48 /**
49  * @brief       Enumerations of error codes for Account module
50  */
51         typedef enum {
52                 ACCOUNT_SUCCESS,        /**< when Account Operation is succeed */
53                 ACCOUNT_FAIL,                   /**< when Account Operation is failed */
54                 ACCOUNT_EMPTY,          /**< when Account is not exist */
55                 ACCOUNT_CHANGED /**< when Account storage changed */
56         } ACCOUNT_ERROR;
57
58 #ifdef __cplusplus
59 }
60 #endif                          /* __cplusplus */
61 #endif                          /* ACCOUNT_ERROR_H_ */