17 #ifndef __XMMS_CONFIG_H__ 18 #define __XMMS_CONFIG_H__ gfloat xmms_config_property_get_float(const xmms_config_property_t *prop)
Return the value of a config property as a float.
void xmms_config_property_callback_remove(xmms_config_property_t *prop, xmms_object_handler_t cb, gpointer userdata)
Remove a callback from a config property.
const gchar * xmms_config_property_get_name(const xmms_config_property_t *prop)
Get the name of a config property.
xmms_config_property_t * xmms_config_lookup(const gchar *path)
Look up a config key from the global config.
gint xmms_config_property_get_int(const xmms_config_property_t *prop)
Return the value of a config property as an int.
void xmms_config_property_set_data(xmms_config_property_t *prop, const gchar *data)
Set the data of the config property to a new value.
void xmms_config_property_callback_set(xmms_config_property_t *prop, xmms_object_handler_t cb, gpointer userdata)
Set a callback function for a config property.
typedefG_BEGIN_DECLS struct xmms_config_St xmms_config_t
const gchar * xmms_config_property_get_string(const xmms_config_property_t *prop)
Return the value of a config property as a string.
const gchar * xmms_config_property_lookup_get_string(xmms_config_t *conf, const gchar *key, xmms_error_t *err)
Config functions.
G_BEGIN_DECLS struct xmms_error_St xmms_error_t
xmms_config_property_t * xmms_config_property_register(const gchar *path, const gchar *default_value, xmms_object_handler_t cb, gpointer userdata)
Register a new config property.
struct xmms_config_property_St xmms_config_property_t
void(* xmms_object_handler_t)(xmms_object_t *object, xmmsv_t *data, gpointer userdata)