From: ky85.kim Date: Fri, 23 Oct 2015 10:34:13 +0000 (+0900) Subject: Fix file path for multi user X-Git-Tag: accepted/tizen/ivi/20160218.024410^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc6ca29b724236b8875f86560d69de9d831d8fd2;p=platform%2Fcore%2Fuifw%2Fstt.git Fix file path for multi user Change-Id: I08af0ef1ff785cf108276c1ffd95dd9cfd616eae --- diff --git a/common/stt_defs.h b/common/stt_defs.h index 7baa96a..e5f7a15 100644 --- a/common/stt_defs.h +++ b/common/stt_defs.h @@ -15,6 +15,8 @@ #ifndef __STT_DEFS_H__ #define __STT_DEFS_H__ +#include + #ifdef __cplusplus extern "C" { #endif @@ -67,13 +69,13 @@ extern "C" { #define STT_AUDIO_VOLUME_PATH "/tmp/stt_vol" -#define STT_TIME_INFO_PATH "/opt/home/app/.voice/stt-time.xml" +#define STT_TIME_INFO_PATH tzplatform_mkpath(TZ_USER_HOME, "share/.voice/stt-time.xml") #define STT_USR_BASE "/usr/lib/voice" #define STT_OPT_BASE "/opt/usr/data/voice" #define STT_DEFAULT_CONFIG STT_USR_BASE"/stt/1.0/stt-config.xml" -#define STT_CONFIG "/opt/home/app/.voice/stt-config.xml" +#define STT_CONFIG tzplatform_mkpath(TZ_USER_HOME, "share/.voice/stt-config.xml") #define STT_DEFAULT_ENGINE STT_USR_BASE"/stt/1.0/engine" #define STT_DOWNLOAD_ENGINE STT_OPT_BASE"/stt/1.0/engine"