159a9920a47c17606f805a8cb7fb3f3c77b9e702
[slovak-l10n] / ukeyboard / cpanel / langset.h
1 /*
2  *  Copyright (c) 2008 Jiri Benc <jbenc@upir.cz>
3  *  Copyright (c) 2009 Roman Moravcik <roman.moravcik@gmail.com>
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License version 2 as
7  *  published by the Free Software Foundation.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17  */
18
19 #ifndef _LANGSET_H
20 #define _LANGSET_H
21
22 #ifdef HAVE_MAEMO5
23 gboolean get_l_bool(GConfClient *client, char *lang, char *key);
24 void set_l_bool(GConfClient *client, char *lang, char *key, gboolean val);
25 gchar *get_l_str(GConfClient *client, char *lang, char *key);
26 void set_l_str(GConfClient *client, char *lang, char *key, gchar *val);
27
28 void fill_dict(HildonTouchSelector *combo, GList *langs, gchar *deflang);
29 #else
30 void lang_settings(GConfClient *client, GtkWidget *win, GList *langs, int n);
31 #endif
32
33 #endif