summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>2014-03-03 09:21:53 (GMT)
committerSabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>2014-03-03 09:21:53 (GMT)
commit7e3e82b79e27d6e481f3470299257c6d3cc7812e (patch)
treecdb27cbc7a35e379f8a913a847519e49ce7ddd70 /src/include
parent5501705ca2088e4fea1d5387b252a61cacfd530b (diff)
downloadlibmedia-thumbnail-7e3e82b79e27d6e481f3470299257c6d3cc7812e.zip
libmedia-thumbnail-7e3e82b79e27d6e481f3470299257c6d3cc7812e.tar.gz
libmedia-thumbnail-7e3e82b79e27d6e481f3470299257c6d3cc7812e.tar.bz2
Change-Id: I9e54129f903594ffe47b40c85b9e961b5aabe6d0 Bug-Tizen: PTREL-191 Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/util/media-thumb-util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/util/media-thumb-util.h b/src/include/util/media-thumb-util.h
index 335c4a5..8cb68ea 100755
--- a/src/include/util/media-thumb-util.h
+++ b/src/include/util/media-thumb-util.h
@@ -23,6 +23,7 @@
#include "media-thumb-types.h"
#include "media-thumb-debug.h"
#include "media-util.h"
+#include <tzplatform_config.h>
#ifndef _MEDIA_THUMB_UTIL_H_
#define _MEDIA_THUMB_UTIL_H_
@@ -42,10 +43,10 @@
#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 MEDIA_DATA_PATH"/.thumb/phone"
-#define THUMB_MMC_PATH MEDIA_DATA_PATH"/.thumb/mmc"
+#define THUMB_PHONE_PATH tzplatform_mkpath(TZ_USER_DATA, "file-manager-service/.thumb/phone")
+#define THUMB_MMC_PATH tzplatform_mkpath(TZ_USER_DATA, "file-manager-service/.thumb/mmc")
-#define THUMB_DEFAULT_PATH MEDIA_DATA_PATH"/.thumb/thumb_default.png"
+#define THUMB_DEFAULT_PATH tzplatform_mkpath(TZ_USER_DATA, "file-manager-service/.thumb/thumb_default.png")
typedef enum
{