Tizen 2.1 base
[platform/core/system/sync-agent.git] / src / fw-plugins / common-public / contact / include / ext_datastore_info_contact.h
1 /*
2  * sync-agent
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 #ifndef EXT_DATASTORE_INFO_CONTACT_H_
19 #define EXT_DATASTORE_INFO_CONTACT_H_
20
21 typedef enum {
22         CONTACT_FIELD_NAME = 1,
23         CONTACT_FIELD_TEL,
24         CONTACT_FIELD_EMAIL,
25         CONTACT_FIELD_URL,
26         CONTACT_FIELD_ADDR,
27         CONTACT_FIELD_NOTE,
28         CONTACT_FIELD_COMPANY,
29         CONTACT_FIELD_DEPARTMENT,
30         CONTACT_FIELD_TITLE,
31         CONTACT_FIELD_HOBBY,
32         CONTACT_FIELD_PHOTO,
33         CONTACT_FIELD_YEAR
34 } contact_field_e;
35
36 typedef enum {
37         CONTACT_CHILD_FIELD_FAMILY = 1,
38         CONTACT_CHILD_FIELD_GIVEN,
39         CONTACT_CHILD_FIELD_MIDDLE,
40         CONTACT_CHILD_FIELD_PREFIX,
41         CONTACT_CHILD_FIELD_SUFFIX,
42         CONTACT_CHILD_FIELD_FORMATTED,
43         CONTACT_CHILD_FIELD_NICKNAME,
44         CONTACT_CHILD_FIELD_READING_NAME,
45         CONTACT_CHILD_FIELD_READING_LAST_NAME,
46         CONTACT_CHILD_FIELD_TEL,
47         CONTACT_CHILD_FIELD_EMAIL,
48         CONTACT_CHILD_FIELD_URL,
49         CONTACT_CHILD_FIELD_POBOX,
50         CONTACT_CHILD_FIELD_EXT_ADDR,
51         CONTACT_CHILD_FIELD_STREET,
52         CONTACT_CHILD_FIELD_LOCALITY,
53         CONTACT_CHILD_FIELD_REGION,
54         CONTACT_CHILD_FIELD_POSTAL_CODE,
55         CONTACT_CHILD_FIELD_COUNTRY
56 } contact_child_field_e;
57
58 typedef enum {
59         CONTACT_FEATURE_GENDER = 1
60 } contact_feature_e;
61
62 #endif                          /* EXT_DATASTORE_INFO_CONTACT_H_ */