Apply EFL migration of thread, common
[apps/core/preloaded/message-app.git] / common / msg-ui-bundle.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *    http://www.tizenopensource.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #ifndef __MSG_BUNDLE_H__
19 #define __MSG_BUNDLE_H__
20
21
22  /* Bundle key name */
23 #define MSG_BUNDLE_KEY_TYPE                             "type"
24 #define MSG_BUNDLE_KEY_RUN_TYPE                 "RUN_TYPE"              /* type for email */
25 #define MSG_BUNDLE_KEY_LAUNCH_TYPE              "launch-type"   /* type for call */
26
27 #define MSG_BUNDLE_KEY_MSG_ID                   "msgId"
28 #define MSG_BUNDLE_KEY_THREAD_ID                "threadId"
29 #define MSG_BUNDLE_KEY_THREAD_NAME              "threadName"
30 #define MSG_BUNDLE_KEY_THREAD_ADDRESS   "threadAddr"
31 #define MSG_BUNDLE_KEY_CONTACT_ID               "contactId"
32
33 #define MSG_BUNDLE_KEY_COMPOSER                 "composer"
34 #define MSG_BUNDLE_KEY_TO                               "TO"
35 #define MSG_BUNDLE_KEY_CC                               "CC"
36 #define MSG_BUNDLE_KEY_BCC                              "BCC"
37 #define MSG_BUNDLE_KEY_ATTACHFILE               "ATTACHFILE"
38 #define MSG_BUNDLE_KEY_SUBJECT                  "SUBJECT"
39 #define MSG_BUNDLE_KEY_BODY                     "BODY"
40 #define MSG_BUNDLE_KEY_RECIPIENT                "recipient"
41 #define MSG_BUNDLE_KEY_NUMBER_INDEX             "number/index"
42 #define MSG_BUNDLE_KEY_INDEX            "index"
43 #define MSG_BUNDLE_KEY_MESSAGE_BOX              "messagebox"
44 #define MSG_BUNDLE_KEY_INDICATOR_MODE           "indicator_mode"
45
46 #define MSG_BUNDLE_KEY_REQUEST_TYPE             "request_type"
47 #define MSG_BUNDLE_KEY_FILE_TYPE                "file_type"
48 #define MSG_BUNDLE_KEY_SELECT_TYPE              "select_type"
49 #define MSG_BUNDLE_KEY_PREVIEW_DATA             "preview_data"
50
51 #define MSG_BUNDLE_KEY_GET_SEL_LIST             "get_select_list"
52 #define MSG_BUNDLE_KEY_NAMECARD_INDEX           "id"
53 #define MSG_BUNDLE_KEY_COUNT            "count"
54 #define MSG_BUNDLE_KEY_IMAGE            "image"
55 #define MSG_BUNDLE_KEY_TEXT             "text"
56 #define MSG_BUNDLE_KEY_PATH             "path"
57 #define MSG_BUNDLE_KEY_MM_PATH          "PATH"
58
59 #define MSG_BUNDLE_KEY_CALLER           "CALLER"
60 #define MSG_BUNDLE_KEY_RESOLUTION       "RESOLUTION"
61 #define MSG_BUNDLE_KEY_LIMIT            "LIMIT"
62 #define MSG_BUNDLE_KEY_SIZE             "SIZE"
63 #define MSG_BUNDLE_KEY_QUALITY          "QUALITY"
64
65 #define MSG_BUNDLE_KEY_LAUNCH_APPLICATION       "launching_application"
66 #define MSG_BUNDLE_KEY_VIEWER_MESSAGE   "msg_viewer_message"
67
68 #define MSG_BUNDLE_KEY_RESULT                   "result"
69 #define MSG_BUNDLE_KEY_MODE                             "mode"
70 #define MSG_BUNDLE_KEY_DESTROY                  "destroy"
71 #define MSG_BUNDLE_KEY_NUMBER                   "number"
72 #define MSG_BUNDLE_KEY_MAX                              "max"
73 #define MSG_BUNDLE_KEY_PWD_RESULT               "Result"
74 #define MSG_BUNDLE_KEY_FROM                             "from"
75 #define MSG_BUNDLE_KEY_LAYOUT                   "layout"
76
77 #define MSG_BUNDLE_KEY_VCALL_TYPE               "KEY_CALL_TYPE"
78 #define MSG_BUNDLE_KEY_VCALL_HANDLE             "KEY_CALL_HANDLE"
79 #define MSG_BUNDLE_KEY_VCALL_PARTY_NUM  "KEY_CALLING_PARTY_NUMBER"
80 #define MSG_BUNDLE_KEY_VCALL_CLI_CAUSE  "KEY_CLI_CAUSE"
81 #define MSG_BUNDLE_KEY_VCALL_FORWARDED  "KEY_FORWARDED"
82 #define MSG_BUNDLE_KEY_DRMTYPE                  "drm_type"
83 #define MSG_BUNDLE_KEY_SYSPOPUP_CONTENT "_SYSPOPUP_CONTENT_"
84
85 /* contact bundle key */
86 #define MSG_CT_UG_BUNDLE_TYPE "type"
87 #define MSG_CT_UG_BUNDLE_MAX "ct_max"
88 #define MSG_CT_UG_BUNDLE_EMAIL "ct_email"
89 #define MSG_CT_UG_BUNDLE_NUM "ct_num"
90 #define MSG_CT_UG_BUNDLE_ID "person_id"
91
92 /* Bundle value name */
93 #define MSG_BUNDLE_VALUE_COMPOSE                "compose"
94 #define MSG_BUNDLE_VALUE_SMS_URI                "sms"
95 #define MSG_BUNDLE_VALUE_MMSTO_URI              "mmsto"
96 #define MSG_BUNDLE_VALUE_FILE_URI               "file"
97 #define MSG_BUNDLE_VALUE_NEW_MSG                "new_msg"
98 #define MSG_BUNDLE_VALUE_MSG_ID                 "msg_id"
99 #define MSG_BUNDLE_VALUE_INTERNAL               "internal"
100 #define MSG_BUNDLE_VALUE_EDIT                   "edit"
101 #define MSG_BUNDLE_VALUE_FORWARD                "forward"
102 #define MSG_BUNDLE_VALUE_RESEND                 "resend"
103 #define MSG_BUNDLE_VALUE_REPLY                  "reply"
104 #define MSG_BUNDLE_VALUE_DELETE_MSG             "delete_msg"
105 #define MSG_BUNDLE_VALUE_REFRESH_CONV           "refresh_conv"
106 #define MSG_BUNDLE_VALUE_NORMAL                 "normal"
107
108 #define MSG_BUNDLE_VALUE_IMAGE                  "IMAGE"
109 #define MSG_BUNDLE_VALUE_VIDEO                  "VIDEO"
110 #define MSG_BUNDLE_VALUE_SOUND                  "SOUND"
111 #define MSG_BUNDLE_VALUE_ALL                    "ALL"
112 #define MSG_BUNDLE_VALUE_GALLERY_ALL    "all"
113 #define MSG_BUNDLE_VALUE_MULTI_FILE             "MULTI_FILE"
114 #define MSG_BUNDLE_VALUE_OTHERS         "OTHERS"
115 #define MSG_BUNDLE_VALUE_FILE                   "file"
116 #define MSG_BUNDLE_VALUE_SELECT         "select"
117 #define MSG_BUNDLE_VALUE_SELECT_MULTIPLE        "select-multiple"
118
119 #define MSG_BUNDLE_VALUE_GET                    "get"
120
121 #define MSG_BUNDLE_VALUE_SEARCH_MODE                    "search_mode"
122 #define MSG_BUNDLE_VALUE_NO_CONTENT                     "no_content"
123
124 #define MSG_BUNDLE_VALUE_DEL_ALL                "del_all"
125 #define MSG_BUNDLE_VALUE_FORWARDED              "forwarded"
126
127 #define MSG_BUNDLE_VALUE_DESTROY                "destroy"
128 #define MSG_BUNDLE_VALUE_ERROR                  "error"
129 #define MSG_BUNDLE_VALUE_SENT                   "sent"
130 #define MSG_BUNDLE_VALUE_RESET          "reset"
131 #define MSG_BUNDLE_VALUE_FOCUS_IN       "focus_in"
132
133 #define MSG_BUNDLE_VALUE_VGA            "VGA"
134 #define MSG_BUNDLE_VALUE_QCIF           "QCIF"
135 #define MSG_BUNDLE_VALUE_LOW            "LOW"
136 #define MSG_BUNDLE_VALUE_CAM_LIMIT_SIZE         "295"   /* Limit size of camcoder in message composer */
137 #define MSG_BUNDLE_VALUE_VR_LIMIT_SIZE          "300"   /* Limit size of voice recorder in message composer */
138
139 #define MSG_BUNDLE_VALUE_PREVIEW_MODE   "preview_mode"
140 #define MSG_BUNDLE_VALUE_CALENDAR_MAX   "3"
141
142 #define MSG_BUNDLE_VALUE_EMAIL_COMPOSE  "5"
143
144 #define MSG_BUNDLE_VALUE_CALL_MO                "MO"    /* "MO" : normal call, "EMERGENCY" : emergency call */
145 #define MSG_BUNDLE_VALUE_VCALL_MO               "mo"
146 #define MSG_BUNDLE_VALUE_VCALL_HANDLE   "1"
147 #define MSG_BUNDLE_VALUE_VCALL_FALSE            "-1"
148 #define MSG_BUNDLE_VALUE_AUTO_REJECT_LIST       "1"
149 #define MSG_BUNDLE_VALUE_CONTACT_CHECK_LIST     "46"
150
151 #define MSG_BUNDLE_VALUE_DRM_WITHOUT_FL "DRM_WITHOUT_FL"
152
153 #define MSG_BUNDLE_VALUE_SPAM_SETTING   "spam_setting"
154
155 #define MSG_BUNDLE_VALUE_MSGBOX_PROTECTED       "protected_msgbox"
156 #define MSG_BUNDLE_VALUE_MSGBOX_SPAM    "spam_msgbox"
157
158 #define MSG_BUNDLE_VALUE_INDICATOR              "indicator"
159 #define MSG_BUNDLE_VALUE_NO_INDICATOR           "no_indicator"
160
161 /* contact bundle value */
162 #define MSG_CT_UG_REQUEST_DETAIL 0
163 #define MSG_CT_UG_REQUEST_SELECT_CONTACT 11
164 #define MSG_CT_UG_REQUEST_SELECT_NUMBER 12
165 #define MSG_CT_UG_REQUEST_UPDATE_WITH_NUM 21
166 #define MSG_CT_UG_REQUEST_UPDATE_WITH_EMAIL 22
167 #define MSG_CT_UG_REQUEST_CHECK_FOR_NUMBER_OR_EMAIL 34
168
169
170 /* contact result */
171 #define MSG_CT_UG_BUNDLE_RESULT_NUMBER_ID "num_id"
172 #define MSG_CT_UG_BUNDLE_RESULT_NUMBER_ID_LIST "num_id_list"
173 #define MSG_CT_UG_BUNDLE_RESULT_EMAIL_ID_LIST "email_id_list"
174
175 #endif /* __MSG_BUNDLE_H__ */
176