XMMS2
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
src
include
xmms
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
30
const
gchar *
xmms_config_property_lookup_get_string
(
xmms_config_t
*conf,
31
const
gchar *key,
32
xmms_error_t
*err);
33
const
gchar *
xmms_config_property_get_string
(
const
xmms_config_property_t
*prop);
34
gint
xmms_config_property_get_int
(
const
xmms_config_property_t
*prop);
35
gfloat
xmms_config_property_get_float
(
const
xmms_config_property_t
*prop);
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
42
void
xmms_config_property_callback_set
(
xmms_config_property_t
*prop,
xmms_object_handler_t
cb, gpointer userdata);
43
void
xmms_config_property_callback_remove
(
xmms_config_property_t
*prop,
xmms_object_handler_t
cb, gpointer userdata);
44
45
G_END_DECLS
46
47
#endif
Generated by
1.8.1.2