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.
20 /*==================================================================================================
22 ==================================================================================================*/
23 #include "MsgStorageTypes.h"
24 #include "MsgInternalTypes.h"
26 /*==================================================================================================
28 ==================================================================================================*/
29 msg_error_t MsgGetContactInfo(const MSG_ADDRESS_INFO_S *pAddrInfo, MSG_CONTACT_INFO_S *pContactInfo);
31 msg_error_t MsgGetContactStyleDisplayName(const char *first, const char *last, const char *middle, const char *prefix, const char *suffix, int contactNameOrder, char *displayName, unsigned int size);
33 void MsgAddPhoneLog(const MSG_MESSAGE_INFO_S *pMsgInfo);
34 void MsgDeletePhoneLog(msg_message_id_t msgId);
36 bool checkBlockingMode(char *address, bool *pisFavorites);
38 void MsgConvertNumber(const char* pSrcNum, char* pDestNum, int destSize);
39 bool MsgIsNumber(const char* pSrc);
40 #endif /* MSG_CONTACT_H */