projects
/
platform
/
core
/
system
/
sync-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove hardcoded path for multiuser support
[platform/core/system/sync-agent.git]
/
src
/
fw-plugins
/
common-public
/
vcalendar
/
include
/
vcalendar_string_util.h
diff --git
a/src/fw-plugins/common-public/vcalendar/include/vcalendar_string_util.h
b/src/fw-plugins/common-public/vcalendar/include/vcalendar_string_util.h
index
385ffa2
..
e968cf4
100755
(executable)
--- a/
src/fw-plugins/common-public/vcalendar/include/vcalendar_string_util.h
+++ b/
src/fw-plugins/common-public/vcalendar/include/vcalendar_string_util.h
@@
-34,6
+34,8
@@
#include "utility/sync_util.h"
#include "data-adapter/error.h"
#include "utility/sync_util.h"
#include "data-adapter/error.h"
+#include <tzplatform_config.h>
+
typedef enum cal_date_type {
CALENDAR_DATE_TYPE_ONTIME = 0,
CALENDAR_DATE_TYPE_YEAR,
typedef enum cal_date_type {
CALENDAR_DATE_TYPE_ONTIME = 0,
CALENDAR_DATE_TYPE_YEAR,
@@
-100,11
+102,11
@@
struct sync_agent_calendar_exdate_s {
#define IMAGE_KEYWORD_BEGIN_PATH "PATH=3D"
#define IMAGE_KEYWORD_END_PATH "=3bDATE=3D\r\n"
#define IMAGE_KEYWORD_BEGIN_PATH "PATH=3D"
#define IMAGE_KEYWORD_END_PATH "=3bDATE=3D\r\n"
-#define INTERNAL_MEMORY_ORIGIN
"/opt/usr/media"
+#define INTERNAL_MEMORY_ORIGIN
tzplatform_getenv(TZ_USER_CONTENT)
#define INTERNAL_MEMORY_CONVERTED "Internal=3a"
#define INTERNAL_MEMORY_CONVERTED "Internal=3a"
-#define EXTERNAL_MEMORY_ORIGIN
"/opt/storage/sdcard"
+#define EXTERNAL_MEMORY_ORIGIN
tzplatform_mkpath(TZ_SYS_STORAGE,"sdcard")
#define EXTERNAL_MEMORY_CONVERTED "External=3a"
#define EXTERNAL_MEMORY_CONVERTED "External=3a"
-#define SNOTE_MEMORY_ORIGIN
"/opt/usr/apps/com.samsung.smemo/data/"
+#define SNOTE_MEMORY_ORIGIN
tzplatform_mkpath(TZ_USER_APP,"com.samsung.smemo/data/")
#define EXDATE_LENGTH 16 // length of "20130211T000000Z"
#define EXDATE_LENGTH 16 // length of "20130211T000000Z"