#endif
#include <dlog.h>
+#include <system_settings.h>
+#include <system_settings_multi_callback.h>
#ifdef LOG_TAG
#undef LOG_TAG
#endif
+#define SETTING_PROFILE_PATH "tizen.org/feature/profile"
+#define SETTING_INCOMING_CALL_PATH "tizen.org/feature/systemsetting.incoming_call"
+#define SETTING_HOME_SCREEN_PATH "tizen.org/feature/systemsetting.home_screen"
+#define SETTING_LOCK_SCREEN_PATH "tizen.org/feature/systemsetting.lock_screen"
+#define SETTING_NOTIFICATION_EMAIL_PATH "tizen.org/feature/systemsetting.notification_email"
+#define SETTING_WIFI_PATH "tizen.org/feature/network.wifi"
+#define SETTING_TELEPHONY_PATH "tizen.org/feature/network.telephony"
/**
* @internal
}
system_setting_data_type_e;
+/**
+ * @internal
+ * @since_tizen 4.0
+ * Enumeration for supported profile info
+ */
+typedef enum {
+ SYSTEM_SETTING_SUPPORTED_PROFILE_MOBILE = 0x1, /**< mobile */
+ SYSTEM_SETTING_SUPPORTED_PROFILE_WEARABLE = 0x2, /**< wearable */
+ SYSTEM_SETTING_SUPPORTED_PROFILE_TV = 0x4, /**< tv */
+ SYSTEM_SETTING_SUPPORTED_PROFILE_COMMON = 0x8, /**< common*/
+ SYSTEM_SETTING_SUPPORTED_PROFILE_ALL = 0xF, /**< all of profiles */
+}
+system_setting_supported_profile_info_e;
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-typedef int (*system_setting_get_value_cb)(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+typedef int (*system_setting_get_value_cb)(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-typedef int (*system_setting_set_value_cb)(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+typedef int (*system_setting_set_value_cb)(system_settings_key_e key, void *value);
+typedef int (*system_setting_add_value_cb)(system_settings_key_e key, void *value);
+typedef int (*system_setting_del_value_cb)(system_settings_key_e key, void *value);
+typedef int (*system_setting_list_value_cb)(system_settings_key_e key, system_settings_iter_cb callback, void *user_data);
+
+typedef int (*system_setting_feature_check_cb)(void *value);
/**
* @internal
system_setting_set_changed_callback_cb set_changed_cb; /**< function pointer to register for notification callback */
system_setting_unset_changed_callback_cb unset_changed_cb ; /**< function pointer to un-register for notification callback */
-
system_settings_changed_cb changed_cb; /* registered by user application */
+
+ system_setting_add_value_cb add_value_cb;
+ system_setting_del_value_cb del_value_cb;
+ system_setting_list_value_cb list_value_cb;
+
+ system_setting_feature_check_cb feature_check_cb;
+
+ callback_list changed_cb_list;
+
void *user_data; /* user_data */
} system_setting_s;
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
*/
int system_settings_get_item(system_settings_key_e key, system_setting_h *item);
/**
* @internal
+ * @brief Unset the system settings notification callback
+ * @since_tizen 4.0
+ * @param[in] key system_settings_key_e value to get vconf string
+ * @param[out] key_string string pointer to be assigned vconf string
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_settings_vconf_get_key_string(system_settings_key_e key, char **key_string);
+
+
+/**
+ * @internal
+ * @brief Unset the system settings notification callback
+ * @since_tizen 4.0
+ * @param[in] vconf_key vconf key name used in the code
+ * @param[in] key system_settings_key_e value.
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ */
+int system_setting_vconf_set_changed_multi_cb(const char *vconf_key, system_settings_key_e key);
+
+/**
+ * @internal
+ * @brief Unset the system settings notification callback
+ * @since_tizen 4.0
+ * @param[in] vconf_key vconf key name used in the code
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ */
+int system_setting_vconf_unset_changed_multi_cb(const char *vconf_key);
+
+/**
+ * @internal
* @brief get current font size
* @since_tizen 2.3
* @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_SIZE
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_font_size(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_font_size(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_font_size(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_font_size(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_incoming_call_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_incoming_call_ringtone(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_incoming_call_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_incoming_call_ringtone(system_settings_key_e key, void *value);
+
+
+/**
+ * @todo add comment here
+ */
+int system_setting_add_incoming_call_ringtone(system_settings_key_e key, void *value);
+
+
+/**
+ * @todo add comment here
+ */
+int system_setting_del_incoming_call_ringtone(system_settings_key_e key, void *value);
+
+
+/**
+ * @todo add comment here
+ */
+int system_setting_list_incoming_call_ringtone(system_settings_key_e key, system_settings_iter_cb callback, void *data);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_email_alert_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_email_alert_ringtone(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_email_alert_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_email_alert_ringtone(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_wallpaper_home_screen(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_wallpaper_home_screen(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_wallpaper_home_screen(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_wallpaper_home_screen(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_wallpaper_lock_screen(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_wallpaper_lock_screen(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_wallpaper_lock_screen(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_wallpaper_lock_screen(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_default_font_type(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_default_font_type(system_settings_key_e key, void **value);
/**
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_font_type(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_font_type(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_font_type(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_font_type(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_motion_activation(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_motion_activation(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_motion_activation(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_motion_activation(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_usb_debugging_option(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_usb_debugging_option(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_usb_debugging_option(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_usb_debugging_option(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_3g_data_network(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_3g_data_network(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_3g_data_network(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_3g_data_network(system_settings_key_e key, void *value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_tap_and_hold_delay(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_tap_and_hold_delay(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_tap_and_hold_delay(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_tap_and_hold_delay(system_settings_key_e key, void *value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_lockscreen_app(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_lockscreen_app(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_lockscreen_app(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_lockscreen_app(system_settings_key_e key, void *value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_locale_country(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_locale_country(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_locale_country(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_locale_country(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_locale_language(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_locale_language(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_locale_language(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_locale_language(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_locale_timeformat_24hour(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_locale_timeformat_24hour(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_locale_timeformat_24hour(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_locale_timeformat_24hour(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_locale_timezone(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_locale_timezone(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_locale_timezone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_locale_timezone(system_settings_key_e key, void *value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_time_changed(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_time_changed(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_sound_lock(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_sound_lock(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_sound_silent_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_sound_silent_mode(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_sound_silent_mode(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_sound_silent_mode(system_settings_key_e key, void *value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_sound_touch(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_sound_touch(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_auto_rotation_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_auto_rotation_mode(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_auto_rotation_mode(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_auto_rotation_mode(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_screen_backlight_time(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_screen_backlight_time(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_screen_backlight_time(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_screen_backlight_time(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_sound_notification(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_sound_notification(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_sound_notification(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_sound_notification(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_notification_repetition_period(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_notification_repetition_period(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_notification_repetition_period(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_notification_repetition_period(system_settings_key_e key, void *value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_device_name(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_device_name(system_settings_key_e key, void **value);
/**
* @internal
* @since_tizen 2.3
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_network_flight_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_network_flight_mode(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_network_wifi_notification(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_network_wifi_notification(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_lock_state(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_lock_state(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_lock_state(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_lock_state(system_settings_key_e key, void *value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_get_ads_id(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
+int system_setting_get_ads_id(system_settings_key_e key, void **value);
/**
* @internal
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
*/
-int system_setting_set_ads_id(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
+int system_setting_set_ads_id(system_settings_key_e key, void *value);
/**
* @internal
*/
int system_setting_unset_changed_callback_ads_id(system_settings_key_e key);
+/**
+ * @internal
+ * @brief get current UDS status
+ * @since_tizen 3.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_uds_state(system_settings_key_e key, void **value);
+
+/**
+ * @internal
+ * @since_tizen 3.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_changed_callback_uds_state(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
+
+/**
+ * @internal
+ * @since_tizen 3.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_unset_changed_callback_uds_state(system_settings_key_e key);
+
+
+/**
+ * @internal
+ * @since_tizen 3.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_changed_callback_uds_pkg_list(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
+
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_accessibility_tts(system_settings_key_e key, void **value);
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_changed_callback_accessibility_tts(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_unset_changed_callback_accessibility_tts(system_settings_key_e key);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_vibration(system_settings_key_e key, void **value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_vibration(system_settings_key_e key, void *value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_changed_callback_vibration(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_unset_changed_callback_vibration(system_settings_key_e key);
+
+/**
+ * @internal
+ * @since_tizen 3.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_unset_changed_callback_uds_pkg_list(system_settings_key_e key);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_incoming_call(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_home_screen(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_lock_screen(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_notification_email(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_wifi(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_telephony(void *value);
/*// */