From 9d333c7852195d9d4cb75e681b6e4d0be686dbe5 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Mon, 8 Jun 2015 16:38:00 +0900 Subject: Remove "media-thumbnail-private.h" Change-Id: I62dbc88a57eb3685df8e68fb6f7b2ca157fc4f5a Signed-off-by: Minje Ahn --- CMakeLists.txt | 1 - include/media-thumbnail-private.h | 75 --------------------------------------- md5/media-thumb-hash.c | 1 - test/test-thumb.c | 1 - 4 files changed, 78 deletions(-) delete mode 100755 include/media-thumbnail-private.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 883af10..b307e40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,7 +95,6 @@ TARGET_LINK_LIBRARIES(test-thumb ${pkgs_LDFLAGS} ${MEDIATHUMB-LIB} ) INSTALL(TARGETS test-thumb DESTINATION ${BINDIR}) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/media-thumbnail.h DESTINATION include/${MEDIATHUMB-LIB}) -INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/media-thumbnail-private.h DESTINATION include/${MEDIATHUMB-LIB}) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/media-thumb-types.h DESTINATION include/${MEDIATHUMB-LIB}) #INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/thumbsvr DESTINATION /etc/init.d) diff --git a/include/media-thumbnail-private.h b/include/media-thumbnail-private.h deleted file mode 100755 index 84842f6..0000000 --- a/include/media-thumbnail-private.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * libmedia-thumbnail - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Hyunjun Ko - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#ifndef _MEDIA_THUMBNAIL_PRIVATE_H_ -#define _MEDIA_THUMBNAIL_PRIVATE_H_ - -#ifdef __cplusplus -extern "C" { -#endif - - -/** - * thumbnail_generate_hash_code : - * This function generates a hash code using its original path by md5 algorithm. - * If done, the code will be returned. - * - * @return This function returns zero(MS_MEDIA_ERR_NONE) on success, or negative value with error code. - * Please refer 'media-thumb-error.h' to know the exact meaning of the error. - * @param[in] origin_path The path of the original media - * @param[out] hash_code The hash code generated by md5 algorithm. - * @param[in] max_length The max length of the returned hash code. - * @see None. - * @pre None. - * @post None. - * @remark None. - * @par example - * @code - -#include - -void gen_thumb_hash_code() -{ - int ret = MS_MEDIA_ERR_NONE; - const char *origin_path = "/opt/usr/media/test.jpg"; - char hashcode[255]; - - ret = thumbnail_generate_hash_code(origin_path, hashcode, 255); - - if (ret < 0) { - printf( "thumbnail_generate_hash_code fails. error code->%d", ret); - } - - return; -} - - * @endcode - */ -int thumbnail_generate_hash_code(const char *origin_path, char *hash_code, int max_length); - - -#ifdef __cplusplus -} -#endif - -#endif /*_MEDIA_THUMBNAIL_PRIVATE_H_*/ - diff --git a/md5/media-thumb-hash.c b/md5/media-thumb-hash.c index 6e8b74e..755e2cd 100644 --- a/md5/media-thumb-hash.c +++ b/md5/media-thumb-hash.c @@ -26,7 +26,6 @@ */ #include "md5.h" -#include "media-thumbnail-private.h" #include #include #include diff --git a/test/test-thumb.c b/test/test-thumb.c index e408090..7fdc77b 100755 --- a/test/test-thumb.c +++ b/test/test-thumb.c @@ -27,7 +27,6 @@ #include #include "media-thumbnail.h" -#include "media-thumbnail-private.h" #include "media-thumb-debug.h" #include "media-thumb-ipc.h" #include "media-thumb-util.h" -- cgit v1.2.3