2 * Copyright 2012 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://www.tizenopensource.org/license
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_SAT_HANDLER_H
18 #define SMS_PLUGIN_SAT_HANDLER_H
21 /*==================================================================================================
23 ==================================================================================================*/
24 #include "SmsPluginTypes.h"
26 /*==================================================================================================
28 ==================================================================================================*/
29 class SmsPluginSatHandler
32 static SmsPluginSatHandler* instance();
34 void refreshSms(void *pData);
35 void sendSms(void *pData);
36 void ctrlSms(void *pData);
37 void ctrlSms(msg_network_status_t netStatus);
39 void finishSimMsgInit(msg_error_t Err);
42 SmsPluginSatHandler();
43 virtual ~SmsPluginSatHandler();
50 int handleSatTpdu(unsigned char *pTpdu, unsigned char TpduLen, int bIsPackingRequired);
52 void sendResult(SMS_SAT_CMD_TYPE_T CmdType, int ResultType);
54 static SmsPluginSatHandler* pInstance;
64 #endif //SMS_PLUGIN_SAT_HANDLER_H