From: Keebum Kim Date: Tue, 11 Dec 2012 08:26:19 +0000 (+0900) Subject: Remove duplicate usage API. X-Git-Tag: accepted/tizen_2.1/20130425.035101~14^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff9f587871717cf45de88eed66ddf1f156f53af1;p=framework%2Fmessaging%2Fmsg-service.git Remove duplicate usage API. --- diff --git a/include/mapi/msg.h b/include/mapi/msg.h index c710535..a04505f 100755 --- a/include/mapi/msg.h +++ b/include/mapi/msg.h @@ -234,7 +234,6 @@ int msg_get_msgsize_opt(msg_handle_t handle, msg_struct_t msg_struct); int msg_set_msgsize_opt(msg_handle_t handle, msg_struct_t msg_struct); // text length calculate -int msg_calculate_text_length(msg_handle_t handle, const char* msg_text, msg_encode_type_t msg_encode_type, unsigned int *text_size, unsigned int *segment_size); int msg_util_calculate_text_length(const char* msg_text, msg_encode_type_t msg_encode_type_to, unsigned int *text_size, unsigned int *segment_size, msg_encode_type_t *msg_encode_type_in); #ifdef __cplusplus diff --git a/mapi/msg_svc.cpp b/mapi/msg_svc.cpp index c4e8463..90c73ad 100755 --- a/mapi/msg_svc.cpp +++ b/mapi/msg_svc.cpp @@ -1364,18 +1364,6 @@ EXPORT_API int msg_list_length(msg_list_handle_t list_handle) return (int)g_list_length((GList *)list_handle); } -EXPORT_API int msg_calculate_text_length(msg_handle_t handle, const char* msg_text, msg_encode_type_t msg_encode_type, unsigned int *text_size, unsigned int *segment_size) -{ - msg_error_t err = MSG_SUCCESS; - - msg_encode_type_t msg_encode_type_in; - err = msg_util_calculate_text_length(msg_text, msg_encode_type, text_size, segment_size, &msg_encode_type_in); - - MSG_DEBUG("msg_encode_type_in [%d]", msg_encode_type_in); - - return err; -} - EXPORT_API int msg_util_calculate_text_length(const char* msg_text, msg_encode_type_t msg_encode_type_to, unsigned int *text_size, unsigned int *segment_size, msg_encode_type_t *msg_encode_type_in) { msg_error_t err = MSG_SUCCESS;