summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/utils/MsgContact.h2
-rwxr-xr-xinclude/utils/MsgUtilStorage.h10
2 files changed, 0 insertions, 12 deletions
diff --git a/include/utils/MsgContact.h b/include/utils/MsgContact.h
index 0ca3f67..235635b 100755
--- a/include/utils/MsgContact.h
+++ b/include/utils/MsgContact.h
@@ -23,7 +23,6 @@
#include "MsgStorageTypes.h"
#include "MsgInternalTypes.h"
-#ifndef MSG_CONTACTS_SERVICE_NOT_SUPPORTED
/*==================================================================================================
FUNCTION PROTOTYPES
==================================================================================================*/
@@ -42,7 +41,6 @@ void MsgAddPhoneLog(const MSG_MESSAGE_INFO_S *pMsgInfo);
void MsgDeletePhoneLog(msg_message_id_t msgId);
bool checkBlockingMode(char *address, bool *pisFavorites);
-#endif /* MSG_CONTACTS_SERVICE_NOT_SUPPORTED */
int MsgContactGetMinMatchDigit();
void MsgConvertNumber(const char* pSrcNum, char* pDestNum, int destSize);
diff --git a/include/utils/MsgUtilStorage.h b/include/utils/MsgUtilStorage.h
index 354c876..4255fd9 100755
--- a/include/utils/MsgUtilStorage.h
+++ b/include/utils/MsgUtilStorage.h
@@ -39,19 +39,9 @@ msg_error_t MsgStocheckMemoryStatus();
int MsgStoCheckMsgCntLimit(const MSG_MESSAGE_TYPE_S* pMsgType, msg_folder_id_t FolderId);
msg_error_t MsgStoAddAddress(MsgDbHandler *pDbHandle, const MSG_MESSAGE_INFO_S *pMsg, msg_thread_id_t *pConvId);
-
-/* contacts-service is not used for gear */
-#ifndef MSG_CONTACTS_SERVICE_NOT_SUPPORTED
msg_error_t MsgStoGetAddressByMsgId(MsgDbHandler *pDbHandle, msg_message_id_t msgId, int contactNameOrder, int *nAddressCnt, MSG_ADDRESS_INFO_S **pAddress);
msg_error_t MsgStoGetAddressByMsgId(MsgDbHandler *pDbHandle, msg_message_id_t msgId, int contactNameOrder, msg_struct_list_s *pAddress);
msg_error_t MsgStoGetAddressByConvId(MsgDbHandler *pDbHandle, msg_thread_id_t convId, int contactNameOrder, msg_struct_list_s *pAddrlist);
-#else /* MSG_CONTACTS_SERVICE_NOT_SUPPORTED */
-/* contactNameOrder is never used */
-msg_error_t MsgStoGetAddressByMsgId(MsgDbHandler *pDbHandle, msg_message_id_t msgId, int *nAddressCnt, MSG_ADDRESS_INFO_S **pAddress);
-msg_error_t MsgStoGetAddressByMsgId(MsgDbHandler *pDbHandle, msg_message_id_t msgId, msg_struct_list_s *pAddress);
-msg_error_t MsgStoGetAddressByConvId(MsgDbHandler *pDbHandle, msg_thread_id_t convId, msg_struct_list_s *pAddrlist);
-#endif /* MSG_CONTACTS_SERVICE_NOT_SUPPORTED */
-
void MsgStoUpdateAddress(MsgDbHandler *pDbHandle, const MSG_MESSAGE_INFO_S *pMsg, msg_thread_id_t convId);
msg_error_t MsgStoAddConversation(MsgDbHandler *pDbHandle, msg_thread_id_t *pConvId);
msg_error_t MsgStoUpdateConversation(MsgDbHandler *pDbHandle, msg_thread_id_t convId);