update tizen source
[framework/messaging/msg-service.git] / plugin / sms_plugin / include / SmsPluginMain.h
1 /*
2 *
3 * Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
4 *
5 * This file is part of msg-service.
6 *
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>
13 *
14 * PROPRIETARY/CONFIDENTIAL
15 *
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.
21 *
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.
28 *
29 */
30
31 #ifndef SMS_PLUGIN_MAIN_H
32 #define SMS_PLUGIN_MAIN_H
33
34
35 /*==================================================================================================
36                                          INCLUDE FILES
37 ==================================================================================================*/
38 #include "SmsPluginTypes.h"
39 #include "MsgPluginInterface.h"
40
41
42 #ifdef __cplusplus
43 extern "C"
44 {
45 #endif
46
47
48 /*==================================================================================================
49                                      FUNCTION PROTOTYPES
50 ==================================================================================================*/
51 MSG_ERROR_T SmsPlgInitialize();
52
53 MSG_ERROR_T SmsPlgFinalize();
54
55 MSG_ERROR_T SmsPlgRegisterListener(MSG_PLUGIN_LISTENER_S *pListener);
56
57 MSG_ERROR_T SmsPlgCheckSimStatus(MSG_SIM_STATUS_T *pStatus);
58
59 MSG_ERROR_T SmsPlgCheckDeviceStatus();
60
61 MSG_ERROR_T SmsPlgSubmitRequest(MSG_REQUEST_INFO_S *pReqInfo, bool bReqCb);
62
63 MSG_ERROR_T SmsPlgInitSimMessage();
64
65 MSG_ERROR_T SmsPlgSaveSimMessage(const MSG_MESSAGE_INFO_S *pMsgInfo, SMS_SIM_ID_LIST_S *pSimIdList);
66
67 MSG_ERROR_T SmsPlgDeleteSimMessage(MSG_SIM_ID_T SimMsgId);
68
69 MSG_ERROR_T SmsPlgGetSimMessage(MSG_SIM_ID_T SimMsgId);
70
71 MSG_ERROR_T SmsPlgGetSimMessageCount();
72
73 MSG_ERROR_T SmsPlgSetReadStatus(MSG_SIM_ID_T SimMsgId);
74
75 MSG_ERROR_T SmsPlgSetMemoryStatus(MSG_ERROR_T Error);
76
77 MSG_ERROR_T SmsPlgInitConfigData(MSG_SIM_STATUS_T SimStatus);
78
79 MSG_ERROR_T SmsPlgSetConfigData(const MSG_SETTING_S *pSetting);
80
81 MSG_ERROR_T SmsPlgGetConfigData(MSG_SETTING_S *pSetting);
82
83 #ifdef __cplusplus
84 }
85 #endif
86
87 #endif //SMS_PLUGIN_MAIN_H
88