1 /*
2  * Copyright (C) 2006 Sergey V. Udaltsov <svu@gnome.org>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library 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 GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19 
20 #ifndef __GKBD_UTIL_H__
21 #define __GKBD_UTIL_H__
22 
23 #include <glib.h>
24 #include <gdk/gdk.h>
25 
26 extern void gkbd_install_glib_log_appender (void);
27 
28 extern GdkRectangle *gkbd_preview_load_position (void);
29 
30 extern void gkbd_preview_save_position (GdkRectangle * rect);
31 
32 /* Missing in glib */
33 extern gboolean gkbd_strv_remove (gchar ** arr, const gchar * element);
34 
35 extern gchar **gkbd_strv_append (gchar ** arr, gchar * element);
36 
37 extern void gkbd_strv_behead (gchar ** arr);
38 
39 #endif
40