3 * Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
5 * This file is part of msg-service.
7 * Contact: Jaeyun Jeong <jyjeong@samsung.com>
8 * Sangkoo Kim <sangkoo.kim@samsung.com>
9 * Seunghwan Lee <sh.cat.lee@samsung.com>
10 * SoonMin Jung <sm0415.jung@samsung.com>
11 * Jae-Young Lee <jy4710.lee@samsung.com>
12 * KeeBum Kim <keebum.kim@samsung.com>
14 * PROPRIETARY/CONFIDENTIAL
16 * This software is the confidential and proprietary information of
17 * SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
18 * disclose such Confidential Information and shall use it only in
19 * accordance with the terms of the license agreement you entered
20 * into with SAMSUNG ELECTRONICS.
22 * SAMSUNG make no representations or warranties about the suitability
23 * of the software, either express or implied, including but not limited
24 * to the implied warranties of merchantability, fitness for a particular
25 * purpose, or non-infringement. SAMSUNG shall not be liable for any
26 * damages suffered by licensee as a result of using, modifying or
27 * distributing this software or its derivatives.
31 #ifndef MSG_CMD_TYPES_H
32 #define MSG_CMD_TYPES_H
34 /*==================================================================================================
36 ==================================================================================================*/
40 /*==================================================================================================
42 ==================================================================================================*/
43 #define MAX_COOKIE_LEN 20
46 /*==================================================================================================
48 ==================================================================================================*/
49 typedef unsigned int MSG_CMD_TYPE_T;
51 typedef unsigned int MSG_EVENT_TYPE_T;
54 /*==================================================================================================
56 ==================================================================================================*/
57 typedef struct _MSG_CMD_S
59 MSG_CMD_TYPE_T cmdType;
60 char cmdCookie[MAX_COOKIE_LEN];
65 typedef struct _MSG_EVENT_S
67 MSG_EVENT_TYPE_T eventType;
73 /*==================================================================================================
75 ==================================================================================================*/
79 MSG_CMD_OPEN_HANDLE = 0,
81 MSG_CMD_GET_STORAGELIST,
83 MSG_CMD_ADD_SYNCML_MSG,
88 MSG_CMD_UPDATE_PROTECTED,
90 MSG_CMD_DELALL_MSGINFOLDER,
93 MSG_CMD_MOVE_MSGTOFOLDER,
94 MSG_CMD_MOVE_MSGTOSTORAGE,
97 MSG_CMD_GET_FOLDERVIEWLIST,
101 MSG_CMD_UPDATE_FOLDER,
102 MSG_CMD_DELETE_FOLDER,
103 MSG_CMD_GET_FOLDERLIST,
108 MSG_CMD_GET_MSG_TYPE,
111 MSG_CMD_REG_SENT_STATUS_CB,
114 MSG_CMD_REG_STORAGE_CHANGE_CB,
115 MSG_CMD_REG_INCOMING_MSG_CB,
116 MSG_CMD_REG_INCOMING_MMS_CONF_MSG_CB,
117 MSG_CMD_REG_INCOMING_SYNCML_MSG_CB,
118 MSG_CMD_REG_INCOMING_LBS_MSG_CB,
121 MSG_CMD_PLG_SENT_STATUS_CNF,
122 MSG_CMD_PLG_STORAGE_CHANGE_IND,
123 MSG_CMD_PLG_INCOMING_MSG_IND,
124 MSG_CMD_PLG_INCOMING_MMS_CONF,
125 MSG_CMD_PLG_INCOMING_SYNCML_IND,
128 MSG_CMD_PLG_INCOMING_LBS_IND,
129 MSG_CMD_PLG_INIT_SIM_BY_SAT,
130 MSG_CMD_GET_THREADVIEWLIST,
131 MSG_CMD_GET_CONVERSATIONVIEWLIST,
132 MSG_CMD_DELETE_THREADMESSAGELIST,
135 MSG_CMD_GET_CONTACT_COUNT,
136 MSG_CMD_GET_QUICKPANEL_DATA,
137 MSG_CMD_COUNT_BY_MSGTYPE,
142 MSG_CMD_BACKUP_MESSAGE,
143 MSG_CMD_RESTORE_MESSAGE,
144 MSG_CMD_UPDATE_THREAD_READ,
145 MSG_CMD_REG_SYNCML_MSG_OPERATION_CB,
146 MSG_CMD_SYNCML_OPERATION,
149 MSG_CMD_GET_REPORT_STATUS,
151 // end of MSG_CMD; new CMD should be defined before MSG_CMD_NUM
156 enum _MSG_EVENT_TYPE_E
158 MSG_EVENT_OPEN_HANDLE = 0,
159 MSG_EVENT_CLOSE_HANDLE,
160 MSG_EVENT_GET_STORAGELIST,
162 MSG_EVENT_ADD_SYNCML_MSG,
165 MSG_EVENT_UPDATE_MSG,
166 MSG_EVENT_UPDATE_READ,
167 MSG_EVENT_UPDATE_PROTECTED,
168 MSG_EVENT_DELETE_MSG,
169 MSG_EVENT_DELALL_MSGINFOLDER,
172 MSG_EVENT_MOVE_MSGTOFOLDER,
173 MSG_EVENT_MOVE_MSGTOSTORAGE,
176 MSG_EVENT_GET_FOLDERVIEWLIST,
179 MSG_EVENT_ADD_FOLDER,
180 MSG_EVENT_UPDATE_FOLDER,
181 MSG_EVENT_DELETE_FOLDER,
182 MSG_EVENT_GET_FOLDERLIST,
183 MSG_EVENT_SET_CONFIG,
186 MSG_EVENT_GET_CONFIG,
187 MSG_EVENT_GET_MSG_TYPE,
188 MSG_EVENT_SUBMIT_REQ,
189 MSG_EVENT_CANCEL_REQ,
190 MSG_EVENT_REG_SENT_STATUS_CB,
193 MSG_EVENT_REG_INCOMING_MSG_CB,
194 MSG_EVENT_REG_INCOMING_MMS_CONF_MSG_CB,
195 MSG_EVENT_REG_INCOMING_SYNCML_MSG_CB,
196 MSG_EVENT_REG_INCOMING_LBS_MSG_CB,
197 MSG_EVENT_REG_STORAGE_CHANGE_CB,
200 MSG_EVENT_PLG_SENT_STATUS_CNF,
201 MSG_EVENT_PLG_STORAGE_CHANGE_IND,
202 MSG_EVENT_PLG_INCOMING_MSG_IND,
203 MSG_EVENT_PLG_INCOMING_MMS_CONF,
204 MSG_EVENT_PLG_INCOMING_SYNCML_MSG_IND,
207 MSG_EVENT_PLG_INCOMING_LBS_MSG_IND,
208 MSG_EVENT_PLG_INIT_SIM_BY_SAT,
209 MSG_EVENT_GET_THREADVIEWLIST,
210 MSG_EVENT_GET_CONVERSATIONVIEWLIST,
211 MSG_EVENT_DELETE_THREADMESSAGELIST,
214 MSG_EVENT_GET_CONTACT_COUNT,
215 MSG_EVENT_GET_QUICKPANEL_DATA,
216 MSG_EVENT_COUNT_BY_MSGTYPE,
218 MSG_EVENT_GET_MEMSIZE,
221 MSG_EVENT_BACKUP_MESSAGE,
222 MSG_EVENT_RESTORE_MESSAGE,
223 MSG_EVENT_UPDATE_THREAD_READ,
224 MSG_EVENT_REG_SYNCML_MSG_OPERATION_CB,
225 MSG_EVENT_SYNCML_OPERATION,
228 MSG_EVENT_GET_REPORT_STATUS,
230 // end of MSG_EVENT; new EVENT should be defined before MSG_EVENT_NUM
234 #endif // MSG_CMD_TYPES_H