XMMS2
xmms_config.h
Go to the documentation of this file.
1 /* XMMS2 - X Music Multiplexer System
2  * Copyright (C) 2003-2011 XMMS2 Team
3  *
4  * PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  */
16 
17 #ifndef __XMMS_CONFIG_H__
18 #define __XMMS_CONFIG_H__
19 
20 #include <glib.h>
21 #include "xmms/xmms_object.h"
22 
23 G_BEGIN_DECLS
24 
25 typedef struct xmms_config_St xmms_config_t;
26 typedef struct xmms_config_property_St xmms_config_property_t;
27 
28 xmms_config_property_t *xmms_config_lookup (const gchar *path);
29 
31  const gchar *key,
32  xmms_error_t *err);
36 const gchar *xmms_config_property_get_name (const xmms_config_property_t *prop);
37 
38 xmms_config_property_t *xmms_config_property_register (const gchar *path, const gchar *default_value, xmms_object_handler_t cb, gpointer userdata);
39 
40 void xmms_config_property_set_data (xmms_config_property_t *prop, const gchar *data);
41 
44 
45 G_END_DECLS
46 
47 #endif