diff options
author | seungha.son <seungha.son@samsung.com> | 2016-06-29 10:54:23 +0900 |
---|---|---|
committer | seungha.son <seungha.son@samsung.com> | 2016-06-29 11:08:57 +0900 |
commit | 3d26a0ecb38ee9464fd28b9913dfa8140a49e7ac (patch) | |
tree | 9cc1d5d26cfd025a8590019fbb094ca1b3eab3a8 | |
parent | 9e02fc79b5233fa5d589c0d39ce501dc519b7b3b (diff) | |
download | badge-3d26a0ecb38ee9464fd28b9913dfa8140a49e7ac.tar.gz badge-3d26a0ecb38ee9464fd28b9913dfa8140a49e7ac.tar.bz2 badge-3d26a0ecb38ee9464fd28b9913dfa8140a49e7ac.zip |
Modify overlapping function declarationsubmit/tizen_common/20160701.180000submit/tizen/20160629.021322accepted/tizen/wearable/20160629.070823accepted/tizen/tv/20160629.070736accepted/tizen/mobile/20160629.071006accepted/tizen/ivi/20160629.070843accepted/tizen/common/20160703.130010
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I0ad17988c4ffe748965616fe84f2e7d2547034ef
-rwxr-xr-x | include/badge_internal.h | 20 | ||||
-rwxr-xr-x | include/badge_setting.h | 22 | ||||
-rwxr-xr-x | src/badge_setting.c | 1 |
3 files changed, 21 insertions, 22 deletions
diff --git a/include/badge_internal.h b/include/badge_internal.h index a59de60..ad4b00b 100755 --- a/include/badge_internal.h +++ b/include/badge_internal.h @@ -204,26 +204,6 @@ void badge_changed_cb_call(unsigned int action, const char *pkgname, */ int badge_create(const char *pkgname, const char *writable_pkg); -/** - * @brief This function sets badge property for designated package. - * @param[in] pkgname The name of designated package - * @param[in] property name - * @param[in] property value - * @return #BADGE_ERROR_NONE if success, other value if failure - * @see #badge_error_e - */ -int badge_setting_property_set(const char *pkgname, const char *property, const char *value); - -/** - * @brief This function gets badge property for designated package. - * @param[in] pkgname The name of designated package - * @param[in] property name - * @param[in] pointer which can save the getting value - * @return #BADGE_ERROR_NONE if success, other value if failure - * @see #badge_error_e - */ -int badge_setting_property_get(const char *pkgname, const char *property, char **value); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/include/badge_setting.h b/include/badge_setting.h index 3c1a4e6..7a037ed 100755 --- a/include/badge_setting.h +++ b/include/badge_setting.h @@ -30,8 +30,26 @@ extern "C" { #endif -badge_error_e badge_setting_property_set(const char *pkgname, const char *property, const char *value); -badge_error_e badge_setting_property_get(const char *pkgname, const char *property, char **value); +/** + * @brief This function sets badge property for designated package. + * @param[in] pkgname The name of designated package + * @param[in] property name + * @param[in] property value + * @return #BADGE_ERROR_NONE if success, other value if failure + * @see #badge_error_e + */ +int badge_setting_property_set(const char *pkgname, const char *property, const char *value); + +/** + * @brief This function gets badge property for designated package. + * @param[in] pkgname The name of designated package + * @param[in] property name + * @param[in] pointer which can save the getting value + * @return #BADGE_ERROR_NONE if success, other value if failure + * @see #badge_error_e + */ +int badge_setting_property_get(const char *pkgname, const char *property, char **value); + #ifdef __cplusplus } diff --git a/src/badge_setting.c b/src/badge_setting.c index 2e9de36..992c9fa 100755 --- a/src/badge_setting.c +++ b/src/badge_setting.c @@ -32,6 +32,7 @@ #include "badge_internal.h" #include "badge_ipc.h" #include "badge_db.h" +#include "badge_setting.h" #define SETTING_DB_TABLE "notification_setting" #define SETTING_DB_FILE tzplatform_mkpath(TZ_SYS_DB, "/.notification_parser.db") |