<name>music-player</name>
<comment></comment>
<projects>
- <project>music-chooser</project>
<project>widget</project>
<project>sound-player</project>
</projects>
<blacklist/>
<resFallback autoGen="true"/>
<subProjects>
- <tizenProject project="music-chooser"/>
- <tizenProject project="widget"/>
<tizenProject project="sound-player"/>
+ <tizenProject project="widget"/>
</subProjects>
</package>
</tproject>
# User Includes
## C Compiler
-USER_INC_DIRS = src/include $(workspace_loc)/inc $(workspace_loc)/src/common/include $(workspace_loc)/include
+USER_INC_DIRS = src/include
USER_INC_DIRS_ABS = $(workspace_loc)/inc $(workspace_loc)/src/common/include $(workspace_loc)/src/include
USER_INC_FILES =
USER_INC_FILES_ABS =
#define TRUE 1
#endif
-#define LOG_COLOR_RESET "\033[0m"
-#define LOG_COLOR_RED "\033[31m"
-#define LOG_COLOR_YELLOW "\033[33m"
-#define LOG_COLOR_GREEN "\033[32m"
-#define LOG_COLOR_BLUE "\033[36m"
-
-#ifndef LOGD_IF
-#define LOGD_IF(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, ##arg)
-#endif
-#ifndef LOGI_IF
-#define LOGI_IF(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, ##arg)
-#endif
-#ifndef LOGW_IF
-#define LOGW_IF(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, ##arg)
-#endif
-
-#define DEBUG_TRACE(fmt, arg...) LOGD_IF(TRUE, LOG_COLOR_GREEN"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define INFO_TRACE(fmt, arg...) LOGI_IF(TRUE, LOG_COLOR_GREEN"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define WARN_TRACE(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_YELLOW"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define ERROR_TRACE(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_RED"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define PARAM_CHECK(fmt, arg...) LOGD_IF(TRUE, LOG_COLOR_YELLOW"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define EVENT_TRACE(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_BLUE"[TID:%d] [MUSIC_PLAYER_EVENT]"fmt""LOG_COLOR_RESET, gettid(), ##arg)
-
-#define SECURE_DEBUG(fmt, args...) SECURE_LOGD("[T:%d] " fmt, gettid(), ##args)
-#define SECURE_INFO(fmt, args...) SECURE_LOGI("[T:%d] " fmt, gettid(), ##args)
-#define SECURE_ERROR(fmt, args...) SECURE_LOGD("[T:%d] " fmt, gettid(), ##args)
+#define DEBUG_TRACE(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define INFO_TRACE(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define WARN_TRACE(fmt, arg...) dlog_print(DLOG_WARN, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define ERROR_TRACE(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define PARAM_CHECK(fmt, arg...) dlog_print(DLOG_WARN, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define EVENT_TRACE(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+
+#define SECURE_DEBUG(fmt, args...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##args)
+#define SECURE_INFO(fmt, args...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##args)
+#define SECURE_ERROR(fmt, args...) dlog_print(DLOG_ERROR, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##args)
#else // use USE_DLOG_SYSTEM
# User Includes
## C Compiler
USER_INC_DIRS = src/include src/lib/include src/view/include src/widget/include src/setting/src/include music-chooser/src/include sound-player/src/include src/common/include src/core/include inc
-USER_INC_DIRS_ABS =
+USER_INC_DIRS_ABS =
USER_INC_FILES =
USER_INC_FILES_ABS =
## C++ Compiler
+++ /dev/null
-/Debug
-/SA_Report
# User Includes
## C Compiler
-USER_INC_DIRS = inc src/include $(workspace_loc)/src/include $(workspace_loc)/src/common/include $(workspace_loc)/src/core/include $(workspace_loc)/src/lib/include $(workspace_loc)/src/setting/src/include $(workspace_loc)/src/view/include $(workspace_loc)/src/widget/include $(workspace_loc)/inc $(workspace_loc)/widget/include
+USER_INC_DIRS = src/include
USER_INC_DIRS_ABS = $(workspace_loc)/src/common/include $(workspace_loc)/src/include $(workspace_loc)/src/core/include $(workspace_loc)/src/lib/include $(workspace_loc)/src/setting/src/include $(workspace_loc)/src/view/include $(workspace_loc)/src/widget/include $(workspace_loc)/inc
USER_INC_FILES =
USER_INC_FILES_ABS =
USER_CPP_INC_FILES_ABS =
# User Library Path
-USER_LIB_DIRS = lib
+USER_LIB_DIRS =
USER_LIB_DIRS_ABS =
# EDC Resource Path
#define LOG_TAG "MUSIC_PLAYER"
#endif
-#define LOG_COLOR_RESET "\033[0m"
-#define LOG_COLOR_RED "\033[31m"
-#define LOG_COLOR_YELLOW "\033[33m"
-#define LOG_COLOR_GREEN "\033[32m"
-#define LOG_COLOR_BLUE "\033[36m"
-#define LOG_COLOR_PURPLE "\033[35m"
-
-#ifndef LOGD_IF
-#define LOGD_IF(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, ##arg)
-#endif
-#ifndef LOGI_IF
-#define LOGI_IF(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, ##arg)
-#endif
-#ifndef LOGW_IF
-#define LOGW_IF(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, ##arg)
-#endif
-#ifndef SECURE_LOGD
-#define SECURE_LOGD(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, ##arg)
-#endif
-#ifndef SECURE_LOGI
-#define SECURE_LOGI(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, ##arg)
-#endif
-
#ifndef TRUE
#define TRUE 1
#endif
#define FALSE 0
#endif
-#define mp_debug(fmt, arg...) LOGD_IF(TRUE, LOG_COLOR_GREEN"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define mp_error(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_RED"[TID:%d]# ERROR CHECK # "fmt""LOG_COLOR_RESET, gettid(), ##arg)
+#define mp_debug(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define mp_error(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
-#define VER_TRACE(fmt, arg...) LOGD_IF(TRUE, LOG_COLOR_RESET"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define DEBUG_TRACE(fmt, arg...) LOGD_IF(TRUE, LOG_COLOR_GREEN"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define INFO_TRACE(fmt, arg...) LOGI_IF(TRUE, LOG_COLOR_GREEN"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define WARN_TRACE(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_YELLOW"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define EVENT_TRACE(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_BLUE"[TID:%d] [MUSIC_PLAYER_EVENT]"fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define ERROR_TRACE(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_RED"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
+#define VER_TRACE(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define DEBUG_TRACE(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define INFO_TRACE(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define WARN_TRACE(fmt, arg...) dlog_print(DLOG_WARN, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define EVENT_TRACE(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define ERROR_TRACE(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
#ifdef MP_DEBUG_MODE
-#define mp_debug_temp(fmt, arg...) LOGD_IF(TRUE, LOG_COLOR_GREEN"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
+#define mp_debug_temp(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
#else
#define mp_debug_temp(fmt, arg...)
#endif
-#define TIMER_TRACE(fmt, arg...) do { if (mp_file_exists("/tmp/mp_show_timer_log")) LOGD_IF(TRUE, LOG_COLOR_PURPLE"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg); } while (0)
-#define PARAM_CHECK(fmt, arg...) LOGD_IF(TRUE, LOG_COLOR_YELLOW"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
+#define TIMER_TRACE(fmt, arg...) do { if (mp_file_exists("/tmp/mp_show_timer_log")) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg); } while (0)
+#define PARAM_CHECK(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
//#define PROFILE_IN(func) LOG(LOG_DEBUG, "LAUNCH","[music-player:Application:"func":IN]"); TA(1, func);
//#define PROFILE_OUT(func) LOG(LOG_DEBUG, "LAUNCH","[music-player:Application:"func":OUT]"); TA(0, func);
#define PROFILE_IN(func) TA(1, func);
#define PROFILE_OUT(func) TA(0, func);
-#define SECURE_DEBUG(fmt, args...) SECURE_LOGD("[T:%d] " fmt, gettid(), ##args)
-#define SECURE_INFO(fmt, args...) SECURE_LOGI("[T:%d] " fmt, gettid(), ##args)
-#define SECURE_ERROR(fmt, args...) SECURE_LOGD("[T:%d] " fmt, gettid(), ##args)
+#define SECURE_DEBUG(fmt, args...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##args)
+#define SECURE_INFO(fmt, args...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##args)
+#define SECURE_ERROR(fmt, args...) dlog_print(DLOG_ERROR, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##args)
#define SM_ERROR_CHECK(err)\
do{\
#define ErrPrint(format, arg...) dlog_print(DLOG_ERROR, LOG_TAG, ##arg)
#define WarnPrint(format, arg...) dlog_print(DLOG_INFO, LOG_TAG, ##arg)
-#ifndef LOGD_IF
-#define LOGD_IF(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, ##arg)
-#endif
-#ifndef LOGI_IF
-#define LOGI_IF(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, ##arg)
-#endif
-#ifndef LOGW_IF
-#define LOGW_IF(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, ##arg)
-#endif
-#ifndef SECURE_LOGD
-#define SECURE_LOGD(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, ##arg)
-#endif
-#ifndef SECURE_LOGI
-#define SECURE_LOGI(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, ##arg)
-#endif
-
#ifndef TRUE
#define TRUE 1
#endif
#define FALSE 0
#endif
-#define LOG_COLOR_RESET "\033[0m"
-#define LOG_COLOR_RED "\033[31m"
-#define LOG_COLOR_YELLOW "\033[33m"
-#define LOG_COLOR_GREEN "\033[32m"
-#define LOG_COLOR_BLUE "\033[36m"
-
-#define DEBUG_TRACE(fmt, arg...) LOGD_IF(TRUE, LOG_COLOR_GREEN"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define INFO_TRACE(fmt, arg...) LOGI_IF(TRUE, LOG_COLOR_GREEN"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define WARN_TRACE(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_YELLOW"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define ERROR_TRACE(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_RED"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define PARAM_CHECK(fmt, arg...) LOGD_IF(TRUE, LOG_COLOR_YELLOW"[TID:%d] "fmt""LOG_COLOR_RESET, gettid(), ##arg)
-#define EVENT_TRACE(fmt, arg...) LOGW_IF(TRUE, LOG_COLOR_BLUE"[TID:%d] [MUSIC_PLAYER_EVENT]"fmt""LOG_COLOR_RESET, gettid(), ##arg)
-
-#define SECURE_DEBUG(fmt, args...) SECURE_LOGD("[T:%d] " fmt, gettid(), ##args)
-#define SECURE_INFO(fmt, args...) SECURE_LOGI("[T:%d] " fmt, gettid(), ##args)
-#define SECURE_ERROR(fmt, args...) SECURE_LOGD("[T:%d] " fmt, gettid(), ##args)
+#define DEBUG_TRACE(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define INFO_TRACE(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define WARN_TRACE(fmt, arg...) dlog_print(DLOG_WARN, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define ERROR_TRACE(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define PARAM_CHECK(fmt, arg...) dlog_print(DLOG_WARN, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+#define EVENT_TRACE(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##arg)
+
+#define SECURE_DEBUG(fmt, args...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##args)
+#define SECURE_INFO(fmt, args...) dlog_print(DLOG_INFO, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##args)
+#define SECURE_ERROR(fmt, args...) dlog_print(DLOG_ERROR, LOG_TAG, "[%s : %05d %lu]" fmt "\n", __func__, __LINE__, gettid(), ##args)
#else
extern FILE *__file_log_fp;