Modify the genlist item style for IOT profile
[apps/native/bluetooth-share-ui.git] / src / bt-share-ui-resource.h
1 /*
2 * bluetooth-share-ui
3 *
4 * Copyright 2012 Samsung Electronics Co., Ltd
5 *
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 *           GirishAshok Joshi <girish.joshi@samsung.com>
8 *           DoHyun Pyun <dh79.pyun@samsung.com>
9 *
10 * Licensed under the Flora License, Version 1.1 (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.tizenopensource.org/license
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software 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 #ifndef __DEF_BLUETOOTH_SHARE_UI_RES_H_
25 #define __DEF_BLUETOOTH_SHARE_UI_RES_H_
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 #include <libintl.h>
32
33 /*==============  String ================= */
34 #define BT_COMMON_PKG           "ug-setting-bluetooth-efl"
35 #define BT_COMMON_RES           "/usr/ug/res/locale/"
36
37 #define BT_PKGNAME "org.tizen.bluetooth-share-ui"
38 #define BT_PREFIX "/usr/apps/"BT_PKGNAME
39
40 #define BT_ICON_RECV_FAIL       "bluetooth_download_failed.png"
41 #define BT_ICON_RECV_PASS       "bluetooth_download_complete.png"
42 #define BT_ICON_SEND_FAIL       "bluetooth_upload_failed.png"
43 #define BT_ICON_SEND_PASS       "bluetooth_upload_complete.png"
44
45 #define BT_STR_UNABLE_TO_SEND   \
46         dgettext(BT_COMMON_PKG, "IDS_BT_POP_SENDINGFAIL")
47
48 #define BT_STR_SENDING \
49         dgettext(BT_COMMON_PKG, "IDS_BT_POP_SENDING_ING")
50 #define BT_STR_RECEIVING        \
51         dgettext(BT_COMMON_PKG, "IDS_BT_POP_RECEIVING_ING")
52 #define BT_STR_FILE_NOT_EXIST   \
53         dgettext(BT_COMMON_PKG, "IDS_BT_TPOP_FILE_NOT_FOUND")
54 #define BT_STR_FILE_NOT_RECV    \
55         dgettext(BT_COMMON_PKG, "IDS_BT_POP_FILE_NOT_RECEIVED")
56 #define BT_STR_FILE_S   \
57         dgettext(BT_COMMON_PKG, "IDS_BT_POP_FILE_C_PS")
58 #define BT_STR_FAIL_S   \
59         dgettext(BT_COMMON_PKG, "IDS_BT_POP_FAILURE_REASON_C_PS")
60 #define BT_STR_FILE_SIZE_S      \
61         dgettext(BT_COMMON_PKG, "IDS_BT_POP_FILE_SIZE_C_PS")
62 #define BT_STR_FROM_S   \
63         dgettext(BT_COMMON_PKG, "IDS_BT_HEADER_FROM_C_PS")
64 #define BT_STR_UNABLE_TO_RECEIVE        \
65         dgettext(BT_COMMON_PKG, "IDS_BT_BODY_UNABLE_TO_RECEIVE")
66 #define BT_STR_SENT_FILES       \
67         dgettext(BT_COMMON_PKG, "IDS_BT_HEADER_SENT_FILES")
68 #define BT_STR_RECEIVED_FILES   \
69         dgettext(BT_COMMON_PKG, "IDS_BT_OPT_RECEIVED_FILES")
70 #define BT_STR_UNABLE_TO_RECEIVED_FILES \
71         dgettext(BT_COMMON_PKG, "IDS_BT_HEADER_UNABLE_TO_RECEIVE_FILES_ABB")
72 #define BT_STR_UNABLE_TO_FIND_APPLICATION       \
73         dgettext(BT_COMMON_PKG, "IDS_MF_TPOP_UNABLE_TO_FIND_APPLICATION_TO_PERFORM_THIS_ACTION")
74 #define BT_STR_TR_1FILE_COPIED_STATUS \
75         dgettext(BT_COMMON_PKG, "IDS_BT_MBODY_1_FILE_COPIED_PD_FAILED_ABB")
76 #define BT_STR_DEVICENAME   dgettext(BT_COMMON_PKG, "IDS_BT_BODY_DEVICENAME")
77 #define BT_STR_RECEIVING_FAILED   dgettext(BT_COMMON_PKG, "IDS_BT_MBODY_RECEIVING_FAILED")
78 #define BT_STR_FILE_RECEIVED   dgettext(BT_COMMON_PKG, "IDS_BT_MBODY_FILE_RECEIVED")
79 #define BT_STR_SENDING_FAILED   dgettext(BT_COMMON_PKG, "IDS_BT_MBODY_SENDING_FAILED")
80 #define BT_STR_FILE_SENT   dgettext(BT_COMMON_PKG, "IDS_BT_MBODY_FILE_SENT")
81 #define BT_STR_FILE_LIST dgettext(BT_COMMON_PKG, "IDS_FV_HEADER_FILE_LIST")
82 #define BT_STR_RECEIVED dgettext(BT_COMMON_PKG, "IDS_MSG_BUTTON_RECEIVED_M_MESSAGE")
83 #define BT_STR_SENT dgettext(BT_COMMON_PKG, "IDS_MSG_BODY_SENT_ABB")
84 #define BT_STR_FAILED dgettext(BT_COMMON_PKG, "IDS_EMAIL_BODY_FAILED_M_STATUS")
85 #define BT_STR_STOP dgettext(BT_COMMON_PKG, "IDS_BT_SK4_STOP")
86 #define BT_STR_WAITING dgettext(BT_COMMON_PKG, "IDS_ST_BODY_WAITING_ING")
87 #define BT_STR_RESEND_FAILED_FILES dgettext(BT_COMMON_PKG, "IDS_WIFI_POP_RESEND_FAILED_FILES")
88 #define BT_STR_VCF_FILES_ARE_TEMPORARY_AND_CANT_BE_OPENED dgettext(BT_COMMON_PKG, "IDS_BT_TPOP_VCF_FILES_ARE_TEMPORARY_AND_CANT_BE_OPENED")
89 #define BT_STR_RECEIVED_VCF_FILE_ALREADY_IMPORTED_TO_CONTACTS dgettext(BT_COMMON_PKG, "IDS_BT_TPOP_RECEIVED_VCF_FILE_ALREADY_IMPORTED_TO_CONTACTS")
90 #define BT_STR_PD_RECEIVED dgettext(BT_COMMON_PKG, "IDS_SAS_SBODY_PD_RECEIVED")
91 #define BT_STR_PD_SENT dgettext(BT_COMMON_PKG, "IDS_WIFI_SBODY_PD_SENT_M_STATUS")
92 #define BT_STR_PD_FAILED dgettext(BT_COMMON_PKG, "IDS_WIFI_SBODY_PD_FAILED")
93 #define BT_STR_TURNING_ON_BLUETOOTH_ING \
94         dgettext(BT_COMMON_PKG, "IDS_BT_BODY_TURNING_ON_BLUETOOTH_ING")
95
96 /* Access information */
97 #define BT_STR_ACCES_INFO_MAX_LEN 512
98 #define BT_STR_ACC_ICON "Icon"
99
100 /* Length of Strings*/
101 #define BT_STR_PROGRESS_MAX_LEN 30
102
103 /* Genlist item parts */
104 #define BT_SHARE_ITEM_PART_DEVICE_NAME_TITLE "elm.text"
105 #define BT_SHARE_ITEM_PART_DEVICE_NAME "elm.text.sub"
106
107 #define BT_SHARE_ITEM_PART_DEVICE_NAME_TITLE_COMMON "elm.icon"
108 #define BT_SHARE_ITEM_PART_DEVICE_NAME_COMMON "elm.end"
109
110 #define BT_SHARE_ITEM_PART_TRANSFER_TYPE_TITLE "elm.text"
111 #define BT_SHARE_ITEM_PART_TRANSFER_STATUS "elm.text.sub"
112
113 #define BT_SHARE_ITEM_PART_PROGRESSBAR_FILE_NAME "elm.text.main"
114 #define BT_SHARE_ITEM_PART_PROGRESSBAR_ICON "elm.swallow.content"
115
116 #define BT_SHARE_ITEM_PART_FILE_LIST_TITLE "elm.text"
117
118 #define BT_SHARE_ITEM_PART_FILE_TRANSFER_STATUS_ICON "elm.swallow.icon"
119 #define BT_SHARE_ITEM_PART_FILE_TRANSFER_STATUS_TEXT "elm.text.sub"
120 #define BT_SHARE_ITEM_PART_FILE_NAME "elm.text"
121 #define BT_SHARE_ITEM_PART_FILE_SIZE "elm.text.sub.end"
122
123 #ifdef __cplusplus
124 }
125 #endif
126 #endif                          /* __DEF_BLUETOOTH_SHARE_UI_RES_H_ */