revise packaging
[platform/core/pim/contacts-service.git] / common / ctsvc_notify.h
1 /*
2  * Contacts Service
3  *
4  * Copyright (c) 2010 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19 #include <tzplatform_config.h>
20
21 #ifndef __CTSVC_NOTIFY_H__
22 #define __CTSVC_NOTIFY_H__
23
24 #define CTSVC_VCARD_IMAGE_LOCATION tzplatform_mkpath(TZ_USER_SHARE, "vcard")
25
26 #define DATA_REPERTORY tzplatform_getenv(TZ_USER_DATA)
27 #define CTSVC_DATA_REPERTORY tzplatform_mkpath(TZ_USER_DATA, "contacts-svc")
28 #define CTSVC_IMG_REPERTORY tzplatform_mkpath(TZ_USER_DATA, "contacts-svc/img/")
29 #define CTS_MY_IMAGE_LOCATION tzplatform_mkpath(TZ_USER_DATA, "contacts-svc/img/my")
30 #define CTS_GROUP_IMAGE_LOCATION tzplatform_mkpath(TZ_USER_DATA, "contacts-svc/img/group")
31 #define CTS_LOGO_IMAGE_LOCATION tzplatform_mkpath(TZ_USER_DATA, "contacts-svc/img/logo")
32 #define CTSVC_CONTACT_IMG_FULL_LOCATION tzplatform_mkpath(TZ_USER_DATA, "contacts-svc/img/contact")
33
34 #define CTSVC_NOTI_PATH "/opt/usr/home/%s/data/contacts-svc"
35 #define CTSVC_NOTI_IPC_READY ".CONTACTS_SVC_IPC_READY"
36 #define CTSVC_NOTI_ADDRESSBOOK_CHANGED ".CONTACTS_SVC_AB_CHANGED"
37 #define CTSVC_NOTI_GROUP_CHANGED ".CONTACTS_SVC_GROUP_CHANGED"
38 #define CTSVC_NOTI_PERSON_CHANGED ".CONTACTS_SVC_PERSON_CHANGED"
39 #define CTSVC_NOTI_CONTACT_CHANGED ".CONTACTS_SVC_DB_CHANGED"
40 #define CTSVC_NOTI_MY_PROFILE_CHANGED ".CONTACTS_SVC_MY_PROFILE_CHANGED"
41 #define CTSVC_NOTI_NAME_CHANGED ".CONTACTS_SVC_NAME_CHANGED"
42 #define CTSVC_NOTI_NUMBER_CHANGED ".CONTACTS_SVC_NUMBER_CHANGED"
43 #define CTSVC_NOTI_EMAIL_CHANGED ".CONTACTS_SVC_EMAIL_CHANGED"
44 #define CTSVC_NOTI_EVENT_CHANGED ".CONTACTS_SVC_EVENT_CHANGED"
45 #define CTSVC_NOTI_URL_CHANGED ".CONTACTS_SVC_URL_CHANGED"
46 #define CTSVC_NOTI_GROUP_RELATION_CHANGED ".CONTACTS_SVC_GROUP_RELATION_CHANGED"
47 #define CTSVC_NOTI_ADDRESS_CHANGED ".CONTACTS_SVC_ADDRESS_CHANGED"
48 #define CTSVC_NOTI_NOTE_CHANGED ".CONTACTS_SVC_NOTE_CHANGED"
49 #define CTSVC_NOTI_COMPANY_CHANGED ".CONTACTS_SVC_COMPANY_CHANGED"
50 #define CTSVC_NOTI_RELATIONSHIP_CHANGED ".CONTACTS_SVC_RELATIONSHIP_CHANGED"
51 #define CTSVC_NOTI_IMAGE_CHANGED ".CONTACTS_SVC_IMAGE_CHANGED"
52 #define CTSVC_NOTI_NICKNAME_CHANGED ".CONTACTS_SVC_NICKNAME_CHANGED"
53 #define CTSVC_NOTI_MESSENGER_CHANGED ".CONTACTS_SVC_MESSENGER_CHANGED"
54 #define CTSVC_NOTI_DATA_CHANGED ".CONTACTS_SVC_DATA_CHANGED"
55 #define CTSVC_NOTI_SDN_CHANGED ".CONTACTS_SVC_SDN_CHANGED"
56 #define CTSVC_NOTI_PROFILE_CHANGED ".CONTACTS_SVC_PROFILE_CHANGED"
57 #define CTSVC_NOTI_ACTIVITY_CHANGED ".CONTACTS_SVC_ACTIVITY_CHANGED"
58 #define CTSVC_NOTI_ACTIVITY_PHOTO_CHANGED ".CONTACTS_SVC_ACTIVITY_PHOTO_CHANGED"
59 #define CTSVC_NOTI_PHONELOG_CHANGED ".CONTACTS_SVC_PLOG_CHANGED"
60 #define CTSVC_NOTI_SPEEDDIAL_CHANGED ".CONTACTS_SVC_SPEED_CHANGED"
61 #define CTSVC_NOTI_SIP_CHANGED ".CONTACTS_SVC_SIP_CHANGED"
62 #define CTSVC_SETTING_DISPLAY_ORDER_CHANGED "contacts.setting.display_order"
63 #define CTSVC_SETTING_SORTING_ORDER_CHANGED "contacts.setting.sorting_order"
64
65 #endif /* __CTSVC_NOTIFY_H__ */