2 * Copyright (c) 2008 Jiri Benc <jbenc@upir.cz>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 #define _HL(str) dgettext("hildon-libs",str)
26 GtkWidget *(*start)(GConfClient *, GtkWidget *, void **);
27 void (*action)(GConfClient *, void *);
28 void (*stop)(GConfClient *, void *);
32 typedef void (*init_func)(struct prefs *);
34 extern gboolean internal_kbd;
36 gboolean get_bool(GConfClient *client, char *key);
37 void set_bool(GConfClient *client, char *key, gboolean val);
38 gint get_int(GConfClient *client, char *key);
39 void set_int(GConfClient *client, char *key, gint val);
40 gchar *get_str(GConfClient *client, char *key);
41 void set_str(GConfClient *client, char *key, gchar *val);