summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-05-18 05:01:48 (GMT)
committerHaejeong Kim <backto.kim@samsung.com>2017-05-18 05:01:48 (GMT)
commit9854665b61c46ea62b0d4654228327c470be4826 (patch)
treea8c074b0f8c3fccdd62c8c5838c0de1b6e1b446d /src/include
parentbeeba1d851b990b7ac150452489c289d2e96dc47 (diff)
downloadlibmedia-thumbnail-9854665b61c46ea62b0d4654228327c470be4826.zip
libmedia-thumbnail-9854665b61c46ea62b0d4654228327c470be4826.tar.gz
libmedia-thumbnail-9854665b61c46ea62b0d4654228327c470be4826.tar.bz2
Use Common API in libmedia-util to get storage_type instead of internal APIrefs/changes/58/129758/1
Change-Id: Id2f14227aa97ce28eda8c20c8882b0183dffc9e5
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/util/media-thumb-util.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/include/util/media-thumb-util.h b/src/include/util/media-thumb-util.h
index 046110c..1ee8384 100755
--- a/src/include/util/media-thumb-util.h
+++ b/src/include/util/media-thumb-util.h
@@ -39,21 +39,11 @@ typedef enum {
#define THUMB_IMAGE_TYPE 0 /* Image */
#define THUMB_VIDEO_TYPE 1 /* Video */
-#define THUMB_PATH_PHONE MEDIA_ROOT_PATH_INTERNAL /**< File path prefix of files stored in phone */
-#define THUMB_PATH_MMC MEDIA_ROOT_PATH_SDCARD /**< File path prefix of files stored in mmc card */
-
#define THUMB_PHONE_PATH tzplatform_mkpath(TZ_USER_SHARE, "media/.thumb/phone")
#define THUMB_MMC_PATH tzplatform_mkpath(TZ_USER_SHARE, "media/.thumb/mmc")
#define THUMB_DEFAULT_PATH tzplatform_mkpath(TZ_USER_SHARE, "media/.thumb/thumb_default.png")
-typedef enum {
- THUMB_PHONE, /**< Stored only in phone */
- THUMB_MMC /**< Stored only in MMC */
-} media_thumb_store_type;
-
-int _media_thumb_get_store_type_by_path(const char *full_path);
-
int _media_thumb_get_file_ext(const char *file_path, char *file_ext, int max_len);
int _media_thumb_get_file_type(const char *file_full_path);