diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/badge_internal.h | 20 | ||||
-rwxr-xr-x | include/badge_setting.h | 22 |
2 files changed, 20 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 } |