2
* awn-applet-gconf.h: awn applet preferences handling.
4
* Copyright (C) 2001-2003 Sun Microsystems, Inc.
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Library General Public
8
* License as published by the Free Software Foundation; either
9
* version 2 of the License, or (at your option) any later version.
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
* Library General Public License for more details.
16
* You should have received a copy of the GNU Library General Public
17
* License along with this library; if not, write to the
18
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
22
* Mark McLoughlin <mark@skynet.ie>
23
* Neil Jagdish Patel <njpatel@gmail.com> (Adapted for Awn)
26
#ifndef __AWN_APPLET_GCONF_H__
27
#define __AWN_APPLET_GCONF_H__
29
#include <glib/gmacros.h>
30
#include <glib/gerror.h>
31
#include <gconf/gconf-value.h>
33
#include "awn-applet.h"
37
gchar *awn_applet_gconf_get_full_key (AwnApplet *applet,
40
void awn_applet_gconf_set_bool (AwnApplet *applet,
44
void awn_applet_gconf_set_int (AwnApplet *applet,
48
void awn_applet_gconf_set_string (AwnApplet *applet,
50
const gchar *the_string,
52
void awn_applet_gconf_set_float (AwnApplet *applet,
56
void awn_applet_gconf_set_list (AwnApplet *applet,
58
GConfValueType list_type,
61
void awn_applet_gconf_set_value (AwnApplet *applet,
66
gboolean awn_applet_gconf_get_bool (AwnApplet *applet,
69
gint awn_applet_gconf_get_int (AwnApplet *applet,
72
gchar *awn_applet_gconf_get_string (AwnApplet *applet,
75
gdouble awn_applet_gconf_get_float (AwnApplet *applet,
78
GSList *awn_applet_gconf_get_list (AwnApplet *applet,
80
GConfValueType list_type,
83
GConfValue *awn_applet_gconf_get_value (AwnApplet *applet,
89
#endif /* __AWN_APPLET_GCONF_H__ */