2 * Copyright (c) 2010 Samsung Electronics, Inc.
5 * This software is a confidential and proprietary information
6 * of Samsung Electronics, Inc. ("Confidential Information"). You
7 * shall not disclose such Confidential Information and shall use
8 * it only in accordance with the terms of the license agreement
9 * you entered into with Samsung Electronics.
11 #include "setting_data_vconf.h"
15 int unregister_vconf_changing(const char *vconf, vconf_callback_fn cb)
19 ret = vconf_ignore_key_changed(vconf, cb);
20 if ( ret == VCONF_OK )
22 DBG("Setting - vconf's changed callback unregisted!!");
26 DBG("Setting - vconf's changed callback do not unregist");
33 int register_vconf_changing(const char *vconf, vconf_callback_fn cb, void *data)
38 ret = vconf_notify_key_changed(vconf, cb, data);
41 DBG("Setting - vconf's changed callback is registed!");
45 DBG("Setting - vconf's changed callback is not registed!");