Tizen 2.1 base
[platform/core/system/sync-agent.git] / src / fw-plugins / common-public / calendar / include / in_datastore_info_calendar.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 IN_DATASTORE_INFO_CALENDAR_H_
19 #define IN_DATASTORE_INFO_CALENDAR_H_
20
21 /* ITEM COUNT */
22 #define MAX_ITEM_COUNT_CALENDAR         65535
23
24 /* TIMEZONE FIELD */
25 #define VAL_TZ_BIAS                                     NULL
26 #define VAL_TZ_DAYLIGHT                         NULL
27 #define VAL_TZ_DAYLIGHT_BIAS            NULL
28 #define VAL_TZ_DAYLIGHT_BEGIN           NULL
29 #define VAL_TZ_DAYLIGHT_END                     NULL
30 #define VAL_TZ_STANDARD_TIMENAME        NULL
31 #define VAL_TZ_DAYLIGHT_TIMENAME        NULL
32
33 /* CALENDAR INFO */
34 #define MAX_LEN_SUMMARY                         65535
35 #define MAX_LEN_DESCRIPTION                     65535
36 #define MAX_LEN_LOCATION                        65535
37 #define MIN_PERIOD_YEAR                         1902
38 #define MAX_PERIOD_YEAR                         2037
39 #define MAX_LEN_MEMO                            FALSE
40 #define VAL_TYPE_MODEL                          "A"
41
42 /* FEATURE */
43 #define IF_SUPPORT_APPOINTMENT          TRUE
44 #define IF_SUPPORT_ANNIVERSARY          FALSE
45 #define IF_SUPPORT_HOLIDAY                      FALSE
46 #define IF_SUPPORT_IMPORTANT            FALSE
47 #define IF_SUPPORT_PRIVATE                      FALSE
48 #define IF_SUPPORT_MISCELLANEOUS        FALSE
49 #define IF_SUPPORT_TASK                         FALSE
50 #define IF_SUPPORT_MEMO                         TRUE
51
52 /* FEATURE FIELD */
53 #define VAL_DB_INDEX_APPOINTMENT        1
54 #define VAL_DB_INDEX_ANNIVERSARY        2
55 #define VAL_DB_INDEX_HOLIDAY            3
56 #define VAL_DB_INDEX_IMPORTANT          4
57 #define VAL_DB_INDEX_PRIVATE            5
58 #define VAL_DB_INDEX_MISCELLANEOUS      6
59 #define VAL_DB_INDEX_TASK                       7
60 #define VAL_DB_INDEX_MEMO                       8
61
62 #endif                          /* IN_DATASTORE_INFO_CALENDAR_H_ */