3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 #ifndef IN_DATASTORE_INFO_CONTACT_H_
19 #define IN_DATASTORE_INFO_CONTACT_H_
22 #define MAX_ITEM_COUNT_CONTACT 65535
25 #define MAX_FIELD_COUNT_TEL 3
26 #define MAX_FIELD_COUNT_EMAIL 2
27 #define MAX_FIELD_COUNT_URL 1
28 #define MAX_FIELD_COUNT_ADDR 2
31 #define MAX_LEN_FAMILY 2000
32 #define MAX_LEN_GIVEN 2000
33 #define MAX_LEN_MIDDLE 2000
34 #define MAX_LEN_PREFIX FALSE
35 #define MAX_LEN_SUFFIX 2000
36 #define MAX_LEN_FORMATTED FALSE
37 #define MAX_LEN_NICKNAME 2000
38 #define MAX_LEN_READING_NAME FALSE
39 #define MAX_LEN_READING_LAST_NAME FALSE
42 #define MAX_LEN_TEL 100
45 #define MAX_LEN_EMAIL 100
48 #define MAX_LEN_URL 100
51 #define MAX_LEN_POBOX FALSE
52 #define MAX_LEN_EXT_ADDR FALSE
53 #define MAX_LEN_STREET 50
54 #define MAX_LEN_LOCALITY 50
55 #define MAX_LEN_REGION 50
56 #define MAX_LEN_POSTAL_CODE 50
57 #define MAX_LEN_COUNTRY 20
60 #define MAX_LEN_NOTE 100
61 #define MAX_LEN_COMPANY 50
62 #define MAX_LEN_DEPARTMENT FALSE
63 #define MAX_LEN_TITLE FALSE
64 #define MAX_LEN_HOBBY FALSE
65 #define MIN_PERIOD_YEAR 1970
66 #define MAX_PERIOD_YEAR 2037
67 #define MAX_LEN_PHOTO 46
70 #define IF_SUPPORT_GENDER FALSE
75 #define MAX_LEN_NUMBER
81 #endif /* IN_DATASTORE_INFO_CONTACT_H_ */