summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rwxr-xr-xinclude/media-thumbnail-private.h75
-rw-r--r--md5/media-thumb-hash.c1
-rwxr-xr-xtest/test-thumb.c1
4 files changed, 0 insertions, 78 deletions
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 <zzoon.ko@samsung.com>
- *
- * 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 <media-thumbnail.h>
-
-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 <string.h>
#include <alloca.h>
#include <media-util-err.h>
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 <mm_util_jpeg.h>
#include "media-thumbnail.h"
-#include "media-thumbnail-private.h"
#include "media-thumb-debug.h"
#include "media-thumb-ipc.h"
#include "media-thumb-util.h"