2 * Copyright 2012-2013 Samsung Electronics Co., Ltd
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
8 * http://floralicense.org
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.
17 #ifndef SMS_PLUGIN_MAIN_H
18 #define SMS_PLUGIN_MAIN_H
21 /*==================================================================================================
23 ==================================================================================================*/
24 #include "SmsPluginTypes.h"
25 #include "MsgPluginInterface.h"
34 /*==================================================================================================
36 ==================================================================================================*/
37 msg_error_t SmsPlgInitialize();
39 msg_error_t SmsPlgFinalize();
41 msg_error_t SmsPlgRegisterListener(MSG_PLUGIN_LISTENER_S *pListener);
43 msg_error_t SmsPlgCheckSimStatus(MSG_SIM_STATUS_T *pStatus);
45 msg_error_t SmsPlgCheckDeviceStatus();
47 msg_error_t SmsPlgSubmitRequest(MSG_REQUEST_INFO_S *pReqInfo);
49 msg_error_t SmsPlgInitSimMessage();
51 msg_error_t SmsPlgSaveSimMessage(const MSG_MESSAGE_INFO_S *pMsgInfo, SMS_SIM_ID_LIST_S *pSimIdList);
53 msg_error_t SmsPlgDeleteSimMessage(msg_sim_id_t SimMsgId);
55 msg_error_t SmsPlgGetSimMessage(msg_sim_id_t SimMsgId);
57 msg_error_t SmsPlgGetSimMessageCount();
59 msg_error_t SmsPlgSetReadStatus(msg_sim_id_t SimMsgId);
61 msg_error_t SmsPlgSetMemoryStatus(msg_error_t Error);
63 msg_error_t SmsPlgInitConfigData(MSG_SIM_STATUS_T SimStatus);
65 msg_error_t SmsPlgSetConfigData(const MSG_SETTING_S *pSetting);
67 msg_error_t SmsPlgGetConfigData(MSG_SETTING_S *pSetting);
73 #endif //SMS_PLUGIN_MAIN_H