8ac2705ffd7d85d6f63052539f646bf3e21000f4
[slovak-l10n] / ukeyboard / cpanel / langset.h
1 /*
2  *  Copyright (c) 2008 Jiri Benc <jbenc@upir.cz>
3  *
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.
7  *
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.
12  *
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
16  */
17
18 #ifndef _LANGSET_H
19 #define _LANGSET_H
20
21 #ifdef HAVE_MAEMO5
22 gboolean get_l_bool(GConfClient *client, char *lang, char *key);
23 void set_l_bool(GConfClient *client, char *lang, char *key, gboolean val);
24 gchar *get_l_str(GConfClient *client, char *lang, char *key);
25 void set_l_str(GConfClient *client, char *lang, char *key, gchar *val);
26
27 void fill_dict(HildonTouchSelector *combo, GList *langs, gchar *deflang);
28 #else
29 void lang_settings(GConfClient *client, GtkWidget *win, GList *langs, int n);
30 #endif
31
32 #endif