diff options
author | Kyeonghun Lee <kh9090.lee@samsung.com> | 2016-03-15 11:48:07 +0900 |
---|---|---|
committer | Kyeonghun Lee <kh9090.lee@samsung.com> | 2016-03-15 11:48:07 +0900 |
commit | 905be6e1c859021457f7a374041e8bfe89d53dff (patch) | |
tree | 925453174faa050016c363d93a0c44f7efb1f4d0 | |
parent | e117d2c5f54ba6014db4c6ca2bf0b62d82c12ce4 (diff) | |
download | msg-service-905be6e1c859021457f7a374041e8bfe89d53dff.tar.gz msg-service-905be6e1c859021457f7a374041e8bfe89d53dff.tar.bz2 msg-service-905be6e1c859021457f7a374041e8bfe89d53dff.zip |
linking error on wearable fixedsubmit/tizen/20160315.025154accepted/tizen/wearable/20160315.120956accepted/tizen/tv/20160315.120939accepted/tizen/mobile/20160315.120921accepted/tizen/ivi/20160315.121155accepted/tizen/common/20160315.221525
Change-Id: I5423ca86a1b4d6ff5eb55e94ad0ec0260e74ee63
-rwxr-xr-x | externals/MsgNotificationWrapper.cpp | 21 | ||||
-rwxr-xr-x | include/externals/MsgNotificationWrapper.h | 2 | ||||
-rwxr-xr-x | plugin/sms_plugin/SmsPluginEventHandler.cpp | 1 | ||||
-rwxr-xr-x | utils/MsgUtilFunction.cpp | 22 |
4 files changed, 23 insertions, 23 deletions
diff --git a/externals/MsgNotificationWrapper.cpp b/externals/MsgNotificationWrapper.cpp index fed5d71..baa3474 100755 --- a/externals/MsgNotificationWrapper.cpp +++ b/externals/MsgNotificationWrapper.cpp @@ -3073,27 +3073,6 @@ void setNotiEventHandler(notification_h noti_h, notification_event_type_e type, } -char *getTranslateText(const char *pkg_name, const char *locale_dir, const char *text) -{ - char *notiMsg = NULL; - char *lang = NULL; - - lang = vconf_get_str(VCONFKEY_LANGSET); - - setlocale(LC_MESSAGES, lang); - - bindtextdomain(pkg_name, locale_dir); - - notiMsg = dgettext(pkg_name, text); - - if (lang) { - free(lang); - lang = NULL; - } - - return g_strdup(notiMsg); -} - void MsgNotiSoundRepeatAlarmCB(int alarmId) { MSG_BEGIN(); diff --git a/include/externals/MsgNotificationWrapper.h b/include/externals/MsgNotificationWrapper.h index 98df11d..df41f74 100755 --- a/include/externals/MsgNotificationWrapper.h +++ b/include/externals/MsgNotificationWrapper.h @@ -222,6 +222,4 @@ void MsgDeleteNotification(msg_notification_type_t noti_type, int simIndex); void MsgInitReportNotiList(); bool MsgCheckNotificationSettingEnable(void); -char *getTranslateText(const char *pkg_name, const char *locale_dir, const char *text); - #endif diff --git a/plugin/sms_plugin/SmsPluginEventHandler.cpp b/plugin/sms_plugin/SmsPluginEventHandler.cpp index 11f65dc..78f990a 100755 --- a/plugin/sms_plugin/SmsPluginEventHandler.cpp +++ b/plugin/sms_plugin/SmsPluginEventHandler.cpp @@ -21,6 +21,7 @@ #include "MsgDebug.h" #include "MsgUtilFile.h" +#include "MsgUtilFunction.h" #include "MsgCppTypes.h" #include "MsgContact.h" #include "MsgGconfWrapper.h" diff --git a/utils/MsgUtilFunction.cpp b/utils/MsgUtilFunction.cpp index 7e8e0a3..09482ef 100755 --- a/utils/MsgUtilFunction.cpp +++ b/utils/MsgUtilFunction.cpp @@ -984,6 +984,28 @@ char* msg_normalize_number(char *src) } +char *getTranslateText(const char *pkg_name, const char *locale_dir, const char *text) +{ + char *notiMsg = NULL; + char *lang = NULL; + + lang = vconf_get_str(VCONFKEY_LANGSET); + + setlocale(LC_MESSAGES, lang); + + bindtextdomain(pkg_name, locale_dir); + + notiMsg = dgettext(pkg_name, text); + + if (lang) { + free(lang); + lang = NULL; + } + + return g_strdup(notiMsg); +} + + msg_error_t MsgMakeSortRule(const MSG_SORT_RULE_S *pSortRule, char *pSqlSort) { char sql[128]; |