From: hj kim Date: Wed, 8 Nov 2017 07:52:26 +0000 (+0900) Subject: Just remove unused APIs X-Git-Tag: accepted/tizen/unified/20171117.060151~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=472676cb3c46f57ca8fb9b7afc7a5aaef0bdbb95;p=platform%2Fcore%2Fmultimedia%2Fmedia-server.git Just remove unused APIs Change-Id: I8bebdcfe24f0869581af34cf1063bd782ab3fba7 --- diff --git a/lib/include/media-util-dcm.h b/lib/include/media-util-dcm.h index e192458..0e0fb38 100755 --- a/lib/include/media-util-dcm.h +++ b/lib/include/media-util-dcm.h @@ -26,8 +26,6 @@ extern "C" { typedef int (*FaceFunc) (int error_code, int count, void* data); -int dcm_request_extract_all(uid_t uid); -int dcm_request_extract_media(const char *path, uid_t uid); int dcm_request_extract_face_async(const unsigned int request_id, const char *path, FaceFunc func, void *user_data, uid_t uid); int dcm_request_cancel_face(const unsigned int request_id, const char *path); diff --git a/lib/media-util-dcm.c b/lib/media-util-dcm.c index ebf65b3..43224d0 100755 --- a/lib/media-util-dcm.c +++ b/lib/media-util-dcm.c @@ -351,36 +351,6 @@ static int __media_dcm_request_async(int msg_type, const unsigned int request_id return err; } -int dcm_request_extract_all(uid_t uid) -{ - int err = MS_MEDIA_ERR_NONE; - - /* Request for image file to the daemon "Dcm generator" */ - err = _media_dcm_request(DCM_MSG_REQUEST_ALL_MEDIA, NULL, uid); - if (err != MS_MEDIA_ERR_NONE) { - MSAPI_DBG_ERR("_media_dcm_request failed : %d", err); - return err; - } - - return MS_MEDIA_ERR_NONE; -} - -int dcm_request_extract_media(const char *path, uid_t uid) -{ - int err = MS_MEDIA_ERR_NONE; - - MSAPI_RETVM_IF(!MS_STRING_VALID(path), MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path"); - - /* Request for image file to the daemon "Dcm generator" */ - err = _media_dcm_request(DCM_MSG_REQUEST_MEDIA, path, uid); - if (err != MS_MEDIA_ERR_NONE) { - MSAPI_DBG_ERR("_media_dcm_request failed : %d", err); - return err; - } - - return MS_MEDIA_ERR_NONE; -} - int dcm_request_extract_face_async(const unsigned int request_id, const char *path, FaceFunc func, void *user_data, uid_t uid) { int err = MS_MEDIA_ERR_NONE;