Version bump (2.4-5)
[ukeyboard.git] / ukbdcreator / ukbdcreator.h
blobbfcff8f58bff4c258aacaa65126bb9eb0c5e7ba2
1 /*
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
18 #ifndef _UKBDCREATOR_H
19 #define _UKBDCREATOR_H
21 extern gboolean inside_scratchbox;
23 void disp_error(gchar *msg);
24 void disp_info(gchar *msg);
25 void disp_compile_error(int line, gchar *msg);
27 gboolean compile_layout(gchar *buf, gchar **fname, gchar **lang);
28 gboolean test_layout(GConfClient *conf, gchar *fname, gchar *lang);
29 gboolean restore_layout(GConfClient *conf, gboolean warn);
31 #endif