2 * Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved
4 * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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
20 /*==================================================================================================
22 ==================================================================================================*/
23 #include "MsgPluginInterface.h"
25 /*==================================================================================================
27 ==================================================================================================*/
28 msg_error_t SmsPlgInitialize();
29 msg_error_t SmsPlgFinalize();
30 msg_error_t SmsPlgRegisterListener(MSG_PLUGIN_LISTENER_S *pListener);
31 msg_error_t SmsPlgSubmitRequest(MSG_REQUEST_INFO_S *pReqInfo);
32 msg_error_t SmsPlgSaveSimMessage(const MSG_MESSAGE_INFO_S *pMsgInfo, SMS_SIM_ID_LIST_S *pSimIdList);
33 msg_error_t SmsPlgDeleteSimMessage(msg_sim_slot_id_t simIndex, msg_sim_id_t SimMsgId);
34 msg_error_t SmsPlgSetReadStatus(msg_sim_slot_id_t simIndex, msg_sim_id_t SimMsgId);
35 msg_error_t SmsPlgSetMemoryStatus(msg_sim_slot_id_t simIndex, msg_error_t Error);
36 msg_error_t SmsPlgSetConfigData(const MSG_SETTING_S *pSetting);
37 msg_error_t SmsPlgGetConfigData(MSG_SETTING_S *pSetting);
38 msg_error_t SmsPlgAddMessage(MSG_MESSAGE_INFO_S *pMsgInfo, MSG_SENDINGOPT_INFO_S* pSendOptInfo, char* pFileData);
39 msg_error_t SmsPlgGetDefaultNetworkSimId(int *simId);
41 #endif /* SMS_PLUGIN_MAIN_H */